aboutsummaryrefslogtreecommitdiff
path: root/kernel/signal.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@tv-sign.ru>2007-08-30 23:56:27 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2007-09-26 10:54:37 -0700
commit019f3a3f5f02958ec81e41e03f8d7c6e44ca73f9 (patch)
tree2d0b28cf85df3cf4032e38d4e0f6f8a524a6c3ad /kernel/signal.c
parent3a76a44ae920ef21d127e0488cb026d4f9772406 (diff)
setpgid(child) fails if the child was forked by sub-thread
commit b07e35f94a7b6a059f889b904529ee907dc0634d in mainline tree Spotted by Marcin Kowalczyk <qrczak@knm.org.pl>. sys_setpgid(child) fails if the child was forked by sub-thread. Fix the "is it our child" check. The previous commit ee0acf90d320c29916ba8c5c1b2e908d81f5057d was not complete. (this patch asks for the new same_thread_group() helper, but mainline doesn't have it yet). Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Acked-by: Roland McGrath <roland@redhat.com> Tested-by: "Marcin 'Qrczak' Kowalczyk" <qrczak@knm.org.pl> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel/signal.c')
0 files changed, 0 insertions, 0 deletions