News for hackers. Stuff that matters.
Re:Fully Dockerized Linux kernel debugging environment by mikepurvis on Thursday August 11, 2022 @09:07AM (#32425034)
You probably want kgdboe for this kind of thing? http://sysprogs.com/VisualKernel/kgdboe/

On a embedded targets you'd have a JTAG port for full out of band debugging, but that's obviously not an option for your typical desktop scenario.

Re:Fully Dockerized Linux kernel debugging environment by nyanpasu64 on Saturday August 13, 2022 @12:01PM (#32451079)
Do I build the kernel on the debugging or victim machine, and do I need to use the same distro on both? Does my kernel configuration have to match the victim machine's distro's default settings? How would I get kernel symbols for binary kernels, or transfer symbols from the victim to debugger machine?
Re:Fully Dockerized Linux kernel debugging environment by phendrenad2 on Thursday August 11, 2022 @11:49AM (#32427553)
I never understood why there wasn't a cheap raspberry pi like x86 board with JTAG...
Re:Fully Dockerized Linux kernel debugging environment by cpgxiii on Thursday August 11, 2022 @12:46PM (#32428445)
There's an interface for debugging many (not all) Intel machines via USB that's been around for years. Needs to be enabled in firmware first, given the obvious security implications.
Re:Fully Dockerized Linux kernel debugging environment by bitwize on Thursday August 11, 2022 @09:56PM (#32433976)
Intel CPUs are higher-than-root exploitable remotely, by design. Closing the USB debugging root hole seems penny-wise and pound-foolish.