panic_action and GDB/LLDB
p.mayers at imperial.ac.uk
Wed Nov 5 17:39:20 CET 2014
On 05/11/14 16:27, Arran Cudbard-Bell wrote:
> I agree, the code to determine if we can attach to the process is stupidly
> complex for what it's doing, but I don't know of a better way of detecting
> if a debugger is already attached.
Maybe don't. Maybe have a command-line switch to disable panic_action
signal installers and document that this is needed for debugging?
I'm wary about the code. How does it interact with SELinux/grsecurity
for example? Failure to be able to ptrace a parent process might be
expected in some - many? most? - cases.
More information about the Freeradius-Devel