aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/include/audit.h
diff options
context:
space:
mode:
Diffstat (limited to 'security/selinux/include/audit.h')
-rw-r--r--security/selinux/include/audit.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/security/selinux/include/audit.h b/security/selinux/include/audit.h
index 1bdf973433cc..e51a81ffb8c9 100644
--- a/security/selinux/include/audit.h
+++ b/security/selinux/include/audit.h
@@ -46,13 +46,11 @@ void selinux_audit_rule_free(void *rule);
46 * @field: the field this rule refers to 46 * @field: the field this rule refers to
47 * @op: the operater the rule uses 47 * @op: the operater the rule uses
48 * @rule: pointer to the audit rule to check against 48 * @rule: pointer to the audit rule to check against
49 * @actx: the audit context (can be NULL) associated with the check
50 * 49 *
51 * Returns 1 if the context id matches the rule, 0 if it does not, and 50 * Returns 1 if the context id matches the rule, 0 if it does not, and
52 * -errno on failure. 51 * -errno on failure.
53 */ 52 */
54int selinux_audit_rule_match(u32 sid, u32 field, u32 op, void *rule, 53int selinux_audit_rule_match(u32 sid, u32 field, u32 op, void *rule);
55 struct audit_context *actx);
56 54
57/** 55/**
58 * selinux_audit_rule_known - check to see if rule contains selinux fields. 56 * selinux_audit_rule_known - check to see if rule contains selinux fields.