[lkml]   [2007]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [BUG] ptraced process waiting on syscall may return kernel internal errnos
    On Wed, 2007-06-06 at 08:35 -0700, Linus Torvalds wrote:
    > So I think that the *right* place to clear TIF_SIGPENDING is actually in
    > "get_signal_to_deliver()", because that function is called _only_ by the
    > actual per-architecture "I'm going to deliver a signal now".

    That was my initial idea but it has an issue with kernel
    threads :-( There are in kernel thingies that use signals to a certain
    extend and rely on being able to dequeue and/or clear sigpending (or
    else they just loop instead of waiting in various loops).

    A bit of a can of worms if you ask me.


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-06-07 05:29    [W:0.020 / U:36.688 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site