lkml.org 
[lkml]   [2003]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH] thread signaling

    On 04.06, J.A. Magallon wrote:
    >
    > On 04.04, Marcelo Tosatti wrote:
    > >
    > > So here goes -pre7. Hopefully the last -pre.
    > >
    >

    Fix bad signaling between threads when ancestor dies.
    Author: Zeuner, Axel <Axel.Zeuner@partner.commerzbank.com>

    I forwarded the author, if he wants to give some explanations...

    --- linux/kernel/exit.c.orig Mon Sep 9 14:06:05 2002
    +++ linux/kernel/exit.c Mon Sep 9 14:06:25 2002
    @@ -369,7 +369,7 @@
    *
    */

    - if(current->exit_signal != SIGCHLD &&
    + if(current->exit_signal != SIGCHLD && current->exit_signal != -1 &&
    ( current->parent_exec_id != t->self_exec_id ||
    current->self_exec_id != current->parent_exec_id)
    && !capable(CAP_KILL))

    --
    J.A. Magallon <jamagallon@able.es> \ Software is like sex:
    werewolf.able.es \ It's better when it's free
    Mandrake Linux release 9.2 (Bamboo) for i586
    Linux 2.4.21-pre7-jam1 (gcc 3.2.2 (Mandrake Linux 9.2 3.2.2-5mdk))
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:34    [W:0.021 / U:30.324 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site