Oleg Nesterov 7d8da0962e 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>
2008-04-30 08:29:49 -07:00
..
2008-04-30 08:29:37 -07:00
2008-04-30 08:29:48 -07:00
2008-04-29 08:05:59 -07:00
2008-04-30 08:29:48 -07:00
2008-04-30 08:29:47 -07:00
2008-04-30 08:29:38 -07:00
2008-04-30 08:29:37 -07:00
2008-04-30 08:29:48 -07:00