AUDIT: Prevent duplicate syscall rules
authorAmy Griffis <amy.griffis@hp.com>
Wed, 17 Aug 2005 15:05:35 +0000 (16:05 +0100)
committerDavid Woodhouse <dwmw2@shinybook.infradead.org>
Wed, 17 Aug 2005 15:05:35 +0000 (16:05 +0100)
commit3c789a19054034847afe80af2f23ebb0eebfbad6
treecc983b5fd132c329e16d61d408d8a26ca048cf6b
parentc3896495942392f1a792da1cafba7a573cbf6fc2
AUDIT: Prevent duplicate syscall rules

The following patch against audit.81 prevents duplicate syscall rules in
a given filter list by walking the list on each rule add.

I also removed the unused struct audit_entry in audit.c and made the
static inlines in auditsc.c consistent.

Signed-off-by: Amy Griffis <amy.griffis@hp.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
kernel/audit.c
kernel/auditsc.c