diff options
author | Amy Griffis <amy.griffis@hp.com> | 2005-08-17 16:05:35 +0100 |
---|---|---|
committer | David Woodhouse <dwmw2@shinybook.infradead.org> | 2005-08-17 16:05:35 +0100 |
commit | 3c789a19054034847afe80af2f23ebb0eebfbad6 (patch) | |
tree | cc983b5fd132c329e16d61d408d8a26ca048cf6b /kernel/audit.c | |
parent | c3896495942392f1a792da1cafba7a573cbf6fc2 (diff) | |
download | kernel_samsung_espresso10-3c789a19054034847afe80af2f23ebb0eebfbad6.zip kernel_samsung_espresso10-3c789a19054034847afe80af2f23ebb0eebfbad6.tar.gz kernel_samsung_espresso10-3c789a19054034847afe80af2f23ebb0eebfbad6.tar.bz2 |
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>
Diffstat (limited to 'kernel/audit.c')
-rw-r--r-- | kernel/audit.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/audit.c b/kernel/audit.c index d321e25..8376ec1 100644 --- a/kernel/audit.c +++ b/kernel/audit.c @@ -142,11 +142,6 @@ static void audit_set_pid(struct audit_buffer *ab, pid_t pid) nlh->nlmsg_pid = pid; } -struct audit_entry { - struct list_head list; - struct audit_rule rule; -}; - static void audit_panic(const char *message) { switch (audit_failure) |