]> git.baikalelectronics.ru Git - kernel.git/commit
sys_getsid: don't use ->nsproxy directly
authorOleg Nesterov <oleg@tv-sign.ru>
Fri, 8 Feb 2008 12:19:15 +0000 (04:19 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 8 Feb 2008 17:22:28 +0000 (09:22 -0800)
commit4bd4dcebb4f0bffee020874ba0c8d0ba46100839
treea6b8d416c38d222773a46c5d84b3d043facbf008
parentda043e781100a85e9f9e138f71d589de63ed57c7
sys_getsid: don't use ->nsproxy directly

With the new semantics of find_vpid() we don't need to play with ->nsproxy
explicitely, _vxx() do the right things.

Also s/tasklist/rcu/.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/sys.c