summaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-10-04 14:05:38 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-10-04 14:13:25 -0700
commitab3540626435c01e08fe58ce544311a78430f112 (patch)
tree25ae0ece92e42d8818e094d21b73ef6503c231e8 /security/selinux/hooks.c
parentcb4fbe5703be51f8a2dff4052b1901941ab99e12 (diff)
downloadblackbird-op-linux-ab3540626435c01e08fe58ce544311a78430f112.tar.gz
blackbird-op-linux-ab3540626435c01e08fe58ce544311a78430f112.zip
selinux: remove 'flags' parameter from avc_audit()
Now avc_audit() has no more users with that parameter. Remove it. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'security/selinux/hooks.c')
-rw-r--r--security/selinux/hooks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index 967823212d7d..5b5231068516 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -1502,7 +1502,7 @@ static int cred_has_capability(const struct cred *cred,
rc = avc_has_perm_noaudit(sid, sid, sclass, av, 0, &avd);
if (audit == SECURITY_CAP_AUDIT) {
- int rc2 = avc_audit(sid, sid, sclass, av, &avd, rc, &ad, 0);
+ int rc2 = avc_audit(sid, sid, sclass, av, &avd, rc, &ad);
if (rc2)
return rc2;
}
OpenPOWER on IntegriCloud