Merge tag 'ecryptfs-4.17-rc2-fixes' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git] / kernel / auditfilter.c
index 739a6d2..d7a807e 100644 (file)
@@ -258,8 +258,8 @@ static inline struct audit_entry *audit_to_entry_common(struct audit_rule_data *
                goto exit_err;
 #ifdef CONFIG_AUDITSYSCALL
        case AUDIT_FILTER_ENTRY:
-               if (rule->action == AUDIT_ALWAYS)
-                       goto exit_err;
+               pr_err("AUDIT_FILTER_ENTRY is deprecated\n");
+               goto exit_err;
        case AUDIT_FILTER_EXIT:
        case AUDIT_FILTER_TASK:
 #endif