lkml.org 
[lkml]   [2003]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] detached cloning
On Sun, Apr 06, 2003 at 01:09:44AM +0200, J.A. Magallon wrote:
>
> On 04.06, J.A. Magallon wrote:
> >
> > On 04.04, Marcelo Tosatti wrote:
> > >
> > > So here goes -pre7. Hopefully the last -pre.
> > >
> >
>
> Fix a crash that can be caused by a CLONE_DETACHED thread.
> Author: Ingo Molnar <mingo@elte.hu>
>
> Does this still apply, Ingo ?
>
> --- 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))

CLONE_DETACHED isn't even in 2.4 except in Red Hat kernels.

--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
-
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.094 / U:0.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site