]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitfa1a0ba3a5a8b266b128d1475932f616f2b45dc4
treed3e61e8e19018b94e80d2a332fa0b9e304007365
parent257475314701d66d56fdca6adc6ddcf642853373
[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