News for hackers. Stuff that matters.
Re:A Rust-Based Unikernel: First Version of a Rust-Based LibOS by baybal2 on Thursday June 07, 2018 @11:20PM (#17262335)
i think giving JTAG access on cloud machines may not be that a bad idea.

Connect as low-end sbb to server's JTAG output, and have it connected to the network. JTAG is beautiful tool for debugging because it requires no modification of software being debugged.

Re:A Rust-Based Unikernel: First Version of a Rust-Based LibOS by comex on Friday June 08, 2018 @12:17AM (#17262540)
That would give the user full control over the physical CPU, though, whereas most "cloud" services only give you access to a virtual machine.

On the other hand, it should be possible for the hypervisor to provide roughly the same capabilities in software, without having to modify the software inside the virtual machine. Indeed, most hypervisors already provide a GDB stub for this purpose, including, e.g., Xen [1]; it's just that public clouds don't typically give customers access to it. It would be nice if that changed.

[1] https://github.com/xen-project/xen/tree/master/tools/debugge...

Re:A Rust-Based Unikernel: First Version of a Rust-Based LibOS by baybal2 on Friday June 08, 2018 @12:40AM (#17262635)
Somebody's cloud is engineered the wrong way if somebody can wreck the entirety of it when only having access to a single server
Re:A Rust-Based Unikernel: First Version of a Rust-Based LibOS by Nullabillity on Saturday June 09, 2018 @02:25PM (#17274273)
Usually the same physical server has multiple tenants, which do not trust each other.
Re:A Rust-Based Unikernel: First Version of a Rust-Based LibOS by adynatos on Friday June 08, 2018 @08:48AM (#17264748)
i think it's called connecting a lauterbach or whatever to the server and giving remote access to the machine running the debugger. we just need a catchy name for it.