]> git.baikalelectronics.ru Git - kernel.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)
commite755579b343ca8e653ed8ed87f1981cc4480a124
tree90c2257973f71d811392404a2d506002d8f4012e
parent1381a536256118d684910c9d0e0e21c5cce11139
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