[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090225195424.8BF4EFC3DA@magilla.sf.frob.com>
Date: Wed, 25 Feb 2009 11:54:24 -0800 (PST)
From: Roland McGrath <roland@...hat.com>
To: Oleg Nesterov <oleg@...hat.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Alan Cox <alan@...rguk.ukuu.org.uk>,
Chris Evans <scarybeasts@...il.com>,
David Howells <dhowells@...hat.com>,
Don Howard <dhoward@...hat.com>,
Eugene Teo <eugene@...hat.com>,
Michael Kerrisk <mtk.manpages@...glemail.com>,
Tavis Ormandy <taviso@....lonestar.org>,
Vitaly Mayatskikh <vmayatsk@...hat.com>, stable@...nel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] copy_process: fix CLONE_PARENT && ->exit_signal
interaction
> The task T has ->exit_signal != SIGCHLD, say, SIGHUP. It does
> clone(CLONE_PARENT), copy_process() sets ->exit_signal = SIGHUP.
>
> T->parent exits, T is re-parented to /sbin/init, and its ->exit_signal
> is changed to SIGCHLD.
I see. It's tempting to call this a reason to just use SIGCHLD instead of
current->group_leader->exit_signal. Of course, this all really begs the
question of who uses the case and what they want.
Thanks,
Roland
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists