From: Al Viro Date: Mon, 15 Dec 2008 04:45:27 +0000 (-0500) Subject: fixing audit rule ordering mess, part 1 X-Git-Tag: v2.6.29-rc1~513^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0590b9335a1c72a3f0defcc6231287f7817e07c8;p=pandora-kernel.git fixing audit rule ordering mess, part 1 Problem: ordering between the rules on exit chain is currently lost; all watch and inode rules are listed after everything else _and_ exit,never on one kind doesn't stop exit,always on another from being matched. Solution: assign priorities to rules, keep track of the current highest-priority matching rule and its result (always/never). Signed-off-by: Al Viro --- Reading git-diff-tree failed