aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sys.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@tv-sign.ru>2008-04-30 00:54:27 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-30 08:29:49 -0700
commit7d8da0962eaee30b4a380ded177349bfbdd6ac46 (patch)
treecfbdb6d94922264e7e06892275f1e4d5a29017a6 /kernel/sys.c
parentpids: sys_setpgid: use change_pid() helper (diff)
downloadlinux-dev-7d8da0962eaee30b4a380ded177349bfbdd6ac46.tar.xz
linux-dev-7d8da0962eaee30b4a380ded177349bfbdd6ac46.zip
pids: __set_special_pids: use change_pid() helper
Use change_pid() instead of detach_pid() + attach_pid() in __set_special_pids(). This way task_session() 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>
Diffstat (limited to 'kernel/sys.c')
0 files changed, 0 insertions, 0 deletions