- On Linux recent kernels only allow attaching a debugger
to a process, if
* the right to attach to processes is enabled system-wide
* the debugger is a child process of the debuggee
* or the debuggee grants access by a call to
prctl(PR_SET_PTRACER, debugger_pid, 0, 0, 0);
- also see bug 245529
- If DrKonqi suggests debugging the crashed application with
an external debugger, this right should be transferred to the
debugger by the debuggee.
- The patch opens a socket connection which allows DrKonqi to
request a transfer of this right to the debugger.