Re: something about ptrace field in task_struct

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

 



2010/8/4 Parmenides <mobile.parmenides@xxxxxxxxx>:
> Hi,
>
>   As a field of the type of task_struct, ptrace seems to be
> pertaining to debugger. I have three questions about it.
>
> 1.  What's the content of the ptrace field and who is responsible to set it?
> 2.  When a debugger acting on a process A, A creates its child process
> B. Then, how ptraces of A and B reflcet this situation.
> 3.  Some status of a process can be queried through the
> /proc/pid/status, but there seemingly is no information about the
> ptrace besides a  stat named 'ptracer'. Is there any way to query it?
>
> Or, any clues of documentations about it will be appreciated yet. Thx.
man ptrace
"Playing with ptrace" http://www.linuxjournal.com/article/6210
>
> --
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
> Please read the FAQ at http://kernelnewbies.org/FAQ
>
>



-- 
Best Regards
Lin

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ




[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