[PATCH] setpgid: should not accept ptraced childs
authorOleg Nesterov <oleg@tv-sign.ru>
Sun, 8 Jan 2006 09:03:59 +0000 (01:03 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:14:01 +0000 (20:14 -0800)
commitf7dd795e913656c390b6bde27790c518973feea1
treed3e61e8e19018b94e80d2a332fa0b9e304007365
parente19f247a3dbd85485ec13174817ae9c2478fe541
[PATCH] setpgid: should not accept ptraced childs

sys_setpgid() allows to change ->pgrp of ptraced childs.

'man setpgid' does not tell anything about that, so I consider
this behaviour is a bug.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Oren Laadan <orenl@cs.columbia.edu>
Cc: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/sys.c