5 Nov
2014
5 Nov
'14
11:39 a.m.
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.