Re: How gdb attach command works?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 7, 2009 at 5:59 PM, Rajat Jain <Rajat.Jain@xxxxxxxxxxxx> wrote:

> The debugged process effectively becomes a child
> of GDB when PTRACE_ATTACH is used.  More info in
> the man page.

Oh!

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

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux