Fix rule eviction order for AUDIT_DIR
commit916d75761c971b6e630a26bd4ba472e90ac9a4b9
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 24 Jun 2009 04:02:38 +0000 (24 00:02 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 24 Jun 2009 04:02:38 +0000 (24 00:02 -0400)
tree3a4b18d0d29c1d12f64fefbb2bc5559813a686f7
parent9d9609851003ebed15957f0f2ce18492739ee124
Fix rule eviction order for AUDIT_DIR

If syscall removes the root of subtree being watched, we
definitely do not want the rules refering that subtree
to be destroyed without the syscall in question having
a chance to match them.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
kernel/audit.c
kernel/audit.h
kernel/audit_tree.c
kernel/auditsc.c