summaryrefslogtreecommitdiffstats
path: root/security/lsm_audit.c
diff options
context:
space:
mode:
authorJann Horn2019-04-10 18:55:34 +0200
committerMicah Morton2019-07-15 17:05:48 +0200
commit1cd02a27a9473fed0294561137cfb7dcc9b3aaa0 (patch)
tree50f7aad2ffd88d37bcf508ccc772d70444fe2fff /security/lsm_audit.c
parentLSM: SafeSetID: fix check for setresuid(new1, new2, new3) (diff)
downloadkernel-qcow2-linux-1cd02a27a9473fed0294561137cfb7dcc9b3aaa0.tar.gz
kernel-qcow2-linux-1cd02a27a9473fed0294561137cfb7dcc9b3aaa0.tar.xz
kernel-qcow2-linux-1cd02a27a9473fed0294561137cfb7dcc9b3aaa0.zip
LSM: SafeSetID: refactor policy hash table
parent_kuid and child_kuid are kuids, there is no reason to make them uint64_t. (And anyway, in the kernel, the normal name for that would be u64, not uint64_t.) check_setuid_policy_hashtable_key() and check_setuid_policy_hashtable_key_value() are basically the same thing, merge them. Also fix the comment that claimed that (1<<8)==128. Signed-off-by: Jann Horn <jannh@google.com> Signed-off-by: Micah Morton <mortonm@chromium.org>
Diffstat (limited to 'security/lsm_audit.c')
0 files changed, 0 insertions, 0 deletions