diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2012-02-03 03:54:02 +0100 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2012-05-03 12:28:39 +0200 |
commit | 9c806aa06f8e121c6058db8e8073798aa5c4355b (patch) | |
tree | d55fb9702aa80c4fb38f0da504b18a720e91f9bb /security/commoncap.c | |
parent | userns: Replace user_ns_map_uid and user_ns_map_gid with from_kuid and from_kgid (diff) | |
download | linux-9c806aa06f8e121c6058db8e8073798aa5c4355b.tar.xz linux-9c806aa06f8e121c6058db8e8073798aa5c4355b.zip |
userns: Convert sched_set_affinity and sched_set_scheduler's permission checks
- Compare kuids with uid_eq
- kuid are uniuqe across all user namespaces so there is no longer the
need for a user_namespace comparison.
Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'security/commoncap.c')
0 files changed, 0 insertions, 0 deletions