diff options
author | 2019-04-10 09:56:27 -0700 | |
---|---|---|
committer | 2019-07-15 08:08:03 -0700 | |
commit | e10337daefecb47209fd2af5f4fab0d1a370737f (patch) | |
tree | 053b449a2b7d2c895083cc264e437f2442e43b0f /security/keys | |
parent | LSM: SafeSetID: verify transitive constrainedness (diff) | |
download | linux-dev-e10337daefecb47209fd2af5f4fab0d1a370737f.tar.xz linux-dev-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 'security/keys')
0 files changed, 0 insertions, 0 deletions