android_kernel_xiaomi_sm8350/ipc
Pavel Emelyanov 6c5f3e7b43 Pidns: make full use of xxx_vnr() calls
Some time ago the xxx_vnr() calls (e.g.  pid_vnr or find_task_by_vpid) were
_all_ converted to operate on the current pid namespace.  After this each call
like xxx_nr_ns(foo, current->nsproxy->pid_ns) is nothing but a xxx_vnr(foo)
one.

Switch all the xxx_nr_ns() callers to use the xxx_vnr() calls where
appropriate.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Reviewed-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Balbir Singh <balbir@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-08 09:22:29 -08:00
..
compat_mq.c
compat.c
ipc_sysctl.c namespaces: move the IPC namespace under IPC_NS option 2008-02-08 09:22:23 -08:00
Makefile namespaces: move the IPC namespace under IPC_NS option 2008-02-08 09:22:23 -08:00
mqueue.c Pidns: make full use of xxx_vnr() calls 2008-02-08 09:22:29 -08:00
msg.c IPC: consolidate sem_exit_ns(), msg_exit_ns() and shm_exit_ns() 2008-02-08 09:22:26 -08:00
msgutil.c
namespace.c IPC: consolidate sem_exit_ns(), msg_exit_ns() and shm_exit_ns() 2008-02-08 09:22:26 -08:00
sem.c IPC: consolidate sem_exit_ns(), msg_exit_ns() and shm_exit_ns() 2008-02-08 09:22:26 -08:00
shm.c IPC: consolidate sem_exit_ns(), msg_exit_ns() and shm_exit_ns() 2008-02-08 09:22:26 -08:00
util.c IPC: make struct ipc_ids static in ipc_namespace 2008-02-08 09:22:26 -08:00
util.h IPC: make struct ipc_ids static in ipc_namespace 2008-02-08 09:22:26 -08:00