]> asedeno.scripts.mit.edu Git - linux.git/commit
LSM: SafeSetID: refactor safesetid_security_capable()
authorJann Horn <jannh@google.com>
Wed, 10 Apr 2019 16:55:41 +0000 (09:55 -0700)
committerMicah Morton <mortonm@chromium.org>
Mon, 15 Jul 2019 15:06:58 +0000 (08:06 -0700)
commit8068866c4af124345e2a129be921278aada7830f
tree90c2257973f71d811392404a2d506002d8f4012e
parent1cd02a27a9473fed0294561137cfb7dcc9b3aaa0
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>
security/safesetid/lsm.c