git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24336ea
)
pids: sys_setpgid: use change_pid() helper
author
Oleg Nesterov
<oleg@tv-sign.ru>
Wed, 30 Apr 2008 07:54:27 +0000
(
00:54
-0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 30 Apr 2008 15:29:49 +0000
(08:29 -0700)
Use change_pid() instead of detach_pid() + attach_pid() in sys_setpgid().
This way task_pgrp() is not NULL in between.
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Pavel Emelyanov <xemul@openvz.org>
Cc: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/sys.c
patch
|
blob
|
history
diff --cc
kernel/sys.c
Simple merge