diff options
Diffstat (limited to 'security/integrity')
-rw-r--r-- | security/integrity/ima/ima_policy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/security/integrity/ima/ima_policy.c b/security/integrity/ima/ima_policy.c index 012701157378..dee2dc062bcc 100644 --- a/security/integrity/ima/ima_policy.c +++ b/security/integrity/ima/ima_policy.c | |||
@@ -398,6 +398,7 @@ static int ima_parse_rule(char *rule, struct ima_measure_rule_entry *entry) | |||
398 | AUDIT_SUBJ_TYPE); | 398 | AUDIT_SUBJ_TYPE); |
399 | break; | 399 | break; |
400 | case Opt_err: | 400 | case Opt_err: |
401 | result = -EINVAL; | ||
401 | audit_log_format(ab, "UNKNOWN=%s ", p); | 402 | audit_log_format(ab, "UNKNOWN=%s ", p); |
402 | break; | 403 | break; |
403 | } | 404 | } |