summaryrefslogtreecommitdiffstats
path: root/security/safesetid/securityfs.c
diff options
context:
space:
mode:
authorJann Horn2019-04-10 18:55:41 +0200
committerMicah Morton2019-07-15 17:06:58 +0200
commit8068866c4af124345e2a129be921278aada7830f (patch)
tree90c2257973f71d811392404a2d506002d8f4012e /security/safesetid/securityfs.c
parentLSM: SafeSetID: refactor policy hash table (diff)
downloadkernel-qcow2-linux-8068866c4af124345e2a129be921278aada7830f.tar.gz
kernel-qcow2-linux-8068866c4af124345e2a129be921278aada7830f.tar.xz
kernel-qcow2-linux-8068866c4af124345e2a129be921278aada7830f.zip
LSM: SafeSetID: refactor safesetid_security_capable()
At the moment, safesetid_security_capable() has two nested conditional blocks, and one big comment for all the logic. Chop it up and reduce the amount of indentation. Signed-off-by: Jann Horn <jannh@google.com> Signed-off-by: Micah Morton <mortonm@chromium.org>
Diffstat (limited to 'security/safesetid/securityfs.c')
0 files changed, 0 insertions, 0 deletions