audit: make validity checking generic
authorEric Paris <eparis@redhat.com>
Tue, 16 Apr 2013 21:26:51 +0000 (17:26 -0400)
committerEric Paris <eparis@redhat.com>
Tue, 30 Apr 2013 19:31:28 +0000 (15:31 -0400)
commitab61d38ed8cf670946d12dc46b9198b521c790ea
tree742d96692c63be9f9811fcf624f65811f8f6e96c
parent62062cf8a3a99a933efdac549da380f230dbe982
audit: make validity checking generic

We have 2 interfaces to send audit rules.  Rather than check validity of
things in 2 places make a helper function.

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