summaryrefslogtreecommitdiffstats
path: root/fs/exec.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@tv-sign.ru>2008-02-05 07:27:24 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-05 18:44:07 +0100
commitf558b7e408026eb3c6afcd0e8fc1f7fe31195a6a (patch)
tree3473617a87d54b4388c2336303075b1a54e30552 /fs/exec.c
parent__group_complete_signal(): fix coredump with group stop race (diff)
downloadlinux-f558b7e408026eb3c6afcd0e8fc1f7fe31195a6a.tar.xz
linux-f558b7e408026eb3c6afcd0e8fc1f7fe31195a6a.zip
remove handle_group_stop() in favor of do_signal_stop()
Every time we set SIGNAL_GROUP_EXIT or clear SIGNAL_STOP_DEQUEUED we also reset ->group_stop_count. This means that the SIGNAL_GROUP_EXIT check in handle_group_stop() is not needed, and do_signal_stop() should check SIGNAL_STOP_DEQUEUED only when ->group_stop_count == 0. With these changes handle_group_stop() becomes the subset of do_signal_stop(), we can kill it and use do_signal_stop() instead. Also, a preparation for the next patch. Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Cc: Davide Libenzi <davidel@xmailserver.org> Cc: Ingo Molnar <mingo@elte.hu> Cc: Robin Holt <holt@sgi.com> Cc: Roland McGrath <roland@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/exec.c')
0 files changed, 0 insertions, 0 deletions