• Al Viro's avatar
    fixing audit rule ordering mess, part 1 · 0590b933
    Al Viro authored
    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: default avatarAl Viro <viro@zeniv.linux.org.uk>
auditsc.c 65.6 KB