audit: deprecate the AUDIT_FILTER_ENTRY filter
authorRichard Guy Briggs <rgb@redhat.com>
Thu, 15 Feb 2018 02:47:43 +0000 (21:47 -0500)
committerPaul Moore <paul@paul-moore.com>
Thu, 15 Feb 2018 19:36:29 +0000 (14:36 -0500)
commit5260ecc2e0480cc7e184901ab4c3721d0c2765e3
tree42ad7e5a7cf607997d5bfae0654f21d7557c1ceb
parent6387440e15db1c9ee58028433cd87291cae488e7
audit: deprecate the AUDIT_FILTER_ENTRY filter

The audit entry filter has been long deprecated with userspace support
finally removed in audit-v2.6.7 and plans to remove kernel support have
existed since kernel-v2.6.31.
Remove it.

Since removing the audit entry filter, test for early return before
setting up any context state.

Passes audit-testsuite.

See: https://github.com/linux-audit/audit-kernel/issues/6

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
kernel/auditfilter.c
kernel/auditsc.c