An obscure kernel feature to get more info about dying processes

Posted . Visible to the public.

This post will describe how I stumbled upon a code path in the Linux kernel which allows external programs to be launched when a core dump is about to happen. I provide a link to a short and ugly Ruby script which captures a faulting process, runs gdb to get a backtrace (and other information), captures the core dump, and then generates a notification email.

Last edit
Keywords
linux, makandra
License
Source code in this card is licensed under the MIT License.
Posted by Lexy to makandra dev (2010-09-30 18:18)