audit: put rule existence check in canonical order
authorRichard Guy Briggs <rgb@redhat.com>
Fri, 3 Oct 2014 02:05:18 +0000 (22:05 -0400)
committerEric Paris <eparis@redhat.com>
Fri, 10 Oct 2014 19:03:32 +0000 (15:03 -0400)
commit3639f17068ed40e4e208a6e218481d49817bbd56
tree7860cd3bdea1d1be14a9c467c70438db1ee20b21
parent29075feaf1f55e6b1aa4054b44bc141e8d5eab0b
audit: put rule existence check in canonical order

Use same rule existence check order as audit_make_tree(), audit_to_watch(),
update_lsm_rule() for legibility.

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
kernel/auditfilter.c