lkml.org 
[lkml]   [2009]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 1/2] copy_process: fix CLONE_PARENT && ->exit_signal interaction
Date
> 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


\
 
 \ /
  Last update: 2009-02-25 21:05    [W:1.080 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site