summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorJann Horn2019-04-10 18:56:27 +0200
committerMicah Morton2019-07-15 17:08:03 +0200
commite10337daefecb47209fd2af5f4fab0d1a370737f (patch)
tree053b449a2b7d2c895083cc264e437f2442e43b0f /crypto
parentLSM: SafeSetID: verify transitive constrainedness (diff)
downloadkernel-qcow2-linux-e10337daefecb47209fd2af5f4fab0d1a370737f.tar.gz
kernel-qcow2-linux-e10337daefecb47209fd2af5f4fab0d1a370737f.tar.xz
kernel-qcow2-linux-e10337daefecb47209fd2af5f4fab0d1a370737f.zip
LSM: SafeSetID: fix use of literal -1 in capable hook
The capable() hook returns an error number. -EPERM is actually the same as -1, so this doesn't make a difference in behavior. Signed-off-by: Jann Horn <jannh@google.com> Signed-off-by: Micah Morton <mortonm@chromium.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions