summaryrefslogtreecommitdiffstats
path: root/kernel/audit.c
diff options
context:
space:
mode:
authorAmy Griffis <amy.griffis@hp.com>2005-08-17 16:05:35 +0100
committerDavid Woodhouse <dwmw2@shinybook.infradead.org>2005-08-17 16:05:35 +0100
commit3c789a19054034847afe80af2f23ebb0eebfbad6 (patch)
treecc983b5fd132c329e16d61d408d8a26ca048cf6b /kernel/audit.c
parentc3896495942392f1a792da1cafba7a573cbf6fc2 (diff)
downloadlinux-3c789a19054034847afe80af2f23ebb0eebfbad6.tar.gz
linux-3c789a19054034847afe80af2f23ebb0eebfbad6.tar.bz2
linux-3c789a19054034847afe80af2f23ebb0eebfbad6.zip
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.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/audit.c b/kernel/audit.c
index d321e251d32b..8376ec10cf24 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)