summaryrefslogtreecommitdiffstats
path: root/kernel/cpu.c
diff options
context:
space:
mode:
authorOleg Nesterov2007-08-31 08:56:27 +0200
committerLinus Torvalds2007-08-31 10:42:22 +0200
commitb07e35f94a7b6a059f889b904529ee907dc0634d (patch)
tree0d6178552b4232fa4ea7c3d49aa4710873babc11 /kernel/cpu.c
parentslub: do not fail if we cannot register a slab with sysfs (diff)
downloadkernel-qcow2-linux-b07e35f94a7b6a059f889b904529ee907dc0634d.tar.gz
kernel-qcow2-linux-b07e35f94a7b6a059f889b904529ee907dc0634d.tar.xz
kernel-qcow2-linux-b07e35f94a7b6a059f889b904529ee907dc0634d.zip
setpgid(child) fails if the child was forked by sub-thread
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> Cc: <stable@kernel.org> 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>
Diffstat (limited to 'kernel/cpu.c')
0 files changed, 0 insertions, 0 deletions