]> Pileus Git - ~andy/linux/blobdiff - security/selinux/hooks.c
Merge remote-tracking branch 'asoc/topic/fsl' into asoc-next
[~andy/linux] / security / selinux / hooks.c
index 967823212d7dc181ae0ab6b0145bebb17e4a2e80..5b5231068516e46bb529efb3df38051124d2ef85 100644 (file)
@@ -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;
        }