summaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/immap_86xx.h
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
commited5d2cac114202fe2978a9cbcab8f5032796d538 (patch)
treeaa9aaea1aa0945bd9159685d1b04897d105a90c9 /include/asm-powerpc/immap_86xx.h
parentremove handle_group_stop() in favor of do_signal_stop() (diff)
downloadlinux-ed5d2cac114202fe2978a9cbcab8f5032796d538.tar.xz
linux-ed5d2cac114202fe2978a9cbcab8f5032796d538.zip
exec: rework the group exit and fix the race with kill
As Roland pointed out, we have the very old problem with exec. de_thread() sets SIGNAL_GROUP_EXIT, kills other threads, changes ->group_leader and then clears signal->flags. All signals (even fatal ones) sent in this window (which is not too small) will be lost. With this patch exec doesn't abuse SIGNAL_GROUP_EXIT. signal_group_exit(), the new helper, should be used to detect exit_group() or exec() in progress. It can have more users, but this patch does only strictly necessary changes. 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 'include/asm-powerpc/immap_86xx.h')
0 files changed, 0 insertions, 0 deletions