mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
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>
This commit is contained in:
parent
76b6db0102
commit
9c806aa06f
1 changed files with 2 additions and 5 deletions
Loading…
Add table
Add a link
Reference in a new issue