lkml.org 
[lkml]   [2010]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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.



    \
     
     \ /
      Last update: 2010-12-20 20:53    [W:4.974 / U:0.072 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site