diff options
Diffstat (limited to 'security/smack/smack_lsm.c')
-rw-r--r-- | security/smack/smack_lsm.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c index 2309c696c6c8..424bce4ef21d 100644 --- a/security/smack/smack_lsm.c +++ b/security/smack/smack_lsm.c | |||
@@ -4295,13 +4295,11 @@ static int smack_audit_rule_known(struct audit_krule *krule) | |||
4295 | * @field: audit rule flags given from user-space | 4295 | * @field: audit rule flags given from user-space |
4296 | * @op: required testing operator | 4296 | * @op: required testing operator |
4297 | * @vrule: smack internal rule presentation | 4297 | * @vrule: smack internal rule presentation |
4298 | * @actx: audit context associated with the check | ||
4299 | * | 4298 | * |
4300 | * The core Audit hook. It's used to take the decision of | 4299 | * The core Audit hook. It's used to take the decision of |
4301 | * whether to audit or not to audit a given object. | 4300 | * whether to audit or not to audit a given object. |
4302 | */ | 4301 | */ |
4303 | static int smack_audit_rule_match(u32 secid, u32 field, u32 op, void *vrule, | 4302 | static int smack_audit_rule_match(u32 secid, u32 field, u32 op, void *vrule) |
4304 | struct audit_context *actx) | ||
4305 | { | 4303 | { |
4306 | struct smack_known *skp; | 4304 | struct smack_known *skp; |
4307 | char *rule = vrule; | 4305 | char *rule = vrule; |