Messages in this thread | ![/](/images/icornerl.gif) | | Date | Mon, 20 Dec 2010 20:43:54 +0100 | From | Oleg Nesterov <> | Subject | Re: [PATCH 14/16] ptrace: make SIGCONT notification reliable against ptrace |
| |
On 12/06, Tejun Heo wrote: > > This patch adds a new signal flag SIGNAL_NOTIFY_CONT which is set when > a task is woken up by SIGCONT and cleared once the event is notified > to the parent. SIGNAL_CLD_MASK bits are no longer cleared after > notification. Combined with clearing SIGNAL_CLD_MASK if > !SIGNAL_NOTIFY_CONT on ptrace attach, these bits are set on ptrace > detach iff the tracee owes a notification to the real parent. > __ptrace_unlink() is updated to check these bits and reschedule > SIGCONT notification if necessary.
It turns out I can no longer read the patches today ;) Will continue tomorrow with the fresh head.
I must admit, I have some concerns. But most probably I just need to actually understand what this patch does.
Oleg.
| ![\](/images/icornerr.gif) |