This is the mail archive of the archer@sourceware.org mailing list for the Archer project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ptrace improvement: PTRACE_O_INHERIT


> Even tgkill() can't 100% protect against PID reuse, but I agree it is better.

If the process-wide PID (tgid) is not reused, which it never is silently
when ptrace'd today, then tgkill does protect completely against TID reuse.
With ptrace as it is today, there is only a silent TID reuse risk in the
case of MT exec.


Thanks,
Roland


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]