diff --git a/[refs] b/[refs] index b80565a8ed6e..8e3f578f76f0 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a4ff8dba7d8ce5ceb43fb27df66292251cc73bdc +refs/heads/master: 7ff68e53ece8c175d2951bb8a30b3cce8f9c5579 diff --git a/trunk/kernel/auditfilter.c b/trunk/kernel/auditfilter.c index d94dde82c3c8..903caa269b5c 100644 --- a/trunk/kernel/auditfilter.c +++ b/trunk/kernel/auditfilter.c @@ -235,13 +235,15 @@ static inline struct audit_entry *audit_to_entry_common(struct audit_rule *rule) switch(listnr) { default: goto exit_err; - case AUDIT_FILTER_USER: - case AUDIT_FILTER_TYPE: #ifdef CONFIG_AUDITSYSCALL case AUDIT_FILTER_ENTRY: + if (rule->action == AUDIT_ALWAYS) + goto exit_err; case AUDIT_FILTER_EXIT: case AUDIT_FILTER_TASK: #endif + case AUDIT_FILTER_USER: + case AUDIT_FILTER_TYPE: ; } if (unlikely(rule->action == AUDIT_POSSIBLE)) {