]> git.baikalelectronics.ru Git - kernel.git/commit
audit: allow checking the type of audit message in the user filter
authorEric Paris <eparis@redhat.com>
Tue, 16 Apr 2013 17:08:43 +0000 (13:08 -0400)
committerEric Paris <eparis@redhat.com>
Tue, 16 Apr 2013 21:28:49 +0000 (17:28 -0400)
commite6acdcb40e8d208e86738a430fccd957ec97004a
tree8da676d774d02c3c8f0093e7f2586719072f522f
parentbe785cda6b9bcb332d327a3b3bb36614566ae600
audit: allow checking the type of audit message in the user filter

When userspace sends messages to the audit system it includes a type.
We want to be able to filter messages based on that type without have to
do the all or nothing option currently available on the
AUDIT_FILTER_TYPE filter list.  Instead we should be able to use the
AUDIT_FILTER_USER filter list and just use the message type as one part
of the matching decision.

Signed-off-by: Eric Paris <eparis@redhat.com>
include/linux/audit.h
kernel/audit.c
kernel/auditfilter.c