diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2012-02-07 16:45:47 -0800 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2012-05-03 03:28:40 -0700 |
commit | 18815a18085364d8514c0d0c4c986776cb74272c (patch) | |
tree | a931fb2eee31aee6f8d83ef4493071b9827b1b9f /mm/slab.c | |
parent | 9c806aa06f8e121c6058db8e8073798aa5c4355b (diff) | |
download | linux-18815a18085364d8514c0d0c4c986776cb74272c.tar.gz linux-18815a18085364d8514c0d0c4c986776cb74272c.tar.bz2 linux-18815a18085364d8514c0d0c4c986776cb74272c.zip |
userns: Convert capabilities related permsion checks
- Use uid_eq when comparing kuids
Use gid_eq when comparing kgids
- Use make_kuid(user_ns, 0) to talk about the user_namespace root uid
Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'mm/slab.c')
0 files changed, 0 insertions, 0 deletions