diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-12-15 09:17:50 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2009-01-04 23:14:42 +0300 |
commit | e45aa212ea81d39b38ba158df344dc3a500153e5 (patch) | |
tree | c4d55cda9e8f976d15b6b01a775a3437f932db27 /kernel/audit_tree.c | |
parent | 0590b9335a1c72a3f0defcc6231287f7817e07c8 (diff) | |
download | linux-e45aa212ea81d39b38ba158df344dc3a500153e5.tar.xz |
audit rules ordering, part 2
Fix the actual rule listing; add per-type lists _not_ used for matching,
with all exit,... sitting on one such list. Simplifies "do something
for all rules" logics, while we are at it...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/audit_tree.c')
-rw-r--r-- | kernel/audit_tree.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/audit_tree.c b/kernel/audit_tree.c index 8b509441f49a..48bddad2a3dc 100644 --- a/kernel/audit_tree.c +++ b/kernel/audit_tree.c @@ -450,6 +450,7 @@ static void kill_rules(struct audit_tree *tree) audit_log_end(ab); rule->tree = NULL; list_del_rcu(&entry->list); + list_del(&entry->rule.list); call_rcu(&entry->rcu, audit_free_rule_rcu); } } |