commit | 2695379acd797a478763942ed20c3b6805057dc3 | [log] [tgz] |
---|---|---|
author | Eric W. Biederman <ebiederm@xmission.com> | Sat Mar 03 20:21:47 2012 -0800 |
committer | Luca Weiss <luca.weiss@fairphone.com> | Mon Aug 23 15:53:54 2021 +0200 |
tree | 683409dbe7eb439b8ee2929314742702dd0b6e62 | |
parent | 1310426fcdf8d5cfb1bb29c58affa97fc04b7bcb [diff] |
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> (cherry picked from commit 5af662030e5db1a5560fd917250d5d688a6be586)