diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-10-05 01:05:38 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-10-05 01:13:25 +0400 |
commit | ab3540626435c01e08fe58ce544311a78430f112 (patch) | |
tree | 25ae0ece92e42d8818e094d21b73ef6503c231e8 /security/selinux/hooks.c | |
parent | cb4fbe5703be51f8a2dff4052b1901941ab99e12 (diff) | |
download | linux-ab3540626435c01e08fe58ce544311a78430f112.tar.xz |
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.c | 2 |
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; } |