diff options
| author | Oleg Nesterov <[email protected]> | 2007-08-30 23:56:27 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-08-31 01:42:22 -0700 |
| commit | b07e35f94a7b6a059f889b904529ee907dc0634d (patch) | |
| tree | 0d6178552b4232fa4ea7c3d49aa4710873babc11 /include/linux/sysdev.h | |
| parent | 5d540fb71552b9f2c542bea967200c48be2d8ef6 (diff) | |
setpgid(child) fails if the child was forked by sub-thread
Spotted by Marcin Kowalczyk <[email protected]>.
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 <[email protected]>
Acked-by: Roland McGrath <[email protected]>
Cc: <[email protected]>
Tested-by: "Marcin 'Qrczak' Kowalczyk" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/sysdev.h')
0 files changed, 0 insertions, 0 deletions