userns: Convert ptrace, kill, set_priority permission checks to work with kuids and...
authorEric W. Biederman <ebiederm@xmission.com>
Sun, 4 Mar 2012 04:21:47 +0000 (20:21 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Thu, 3 May 2012 10:28:51 +0000 (03:28 -0700)
commit5af662030e5db1a5560fd917250d5d688a6be586
treec648c0bf8afe4571cf13b098bd6e24fbce86789c
parenta29c33f4e506e1dae7e0985b6328046535becbf8
userns: Convert ptrace, kill, set_priority permission checks to work with kuids and kgids

Update the permission checks to use the new uid_eq and gid_eq helpers
and remove the now unnecessary user_ns equality comparison.

Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
kernel/ptrace.c
kernel/signal.c
kernel/sys.c