On Wed, Oct 7, 2009 at 5:59 PM, Rajat Jain <Rajat.Jain@xxxxxxxxxxxx> wrote:
Not sure whether that sums up all the conditions. AFAIK, one can only debug/attach processes one can send signals to.
CMIIW.
- P
Oh!
> The debugged process effectively becomes a child
> of GDB when PTRACE_ATTACH is used. More info in
> the man page.
And how are user restrictions imposed? I assume that you can attach to a
process only if the process has been started with owner ID = your uer id
or if you are the root..?
Not sure whether that sums up all the conditions. AFAIK, one can only debug/attach processes one can send signals to.
CMIIW.
- P