commit | 8c85fc9ae69a4510ba5e2bd5fac2c1d9d60967ad | [log] [tgz] |
---|---|---|
author | Richard Guy Briggs <rgb@redhat.com> | Wed Aug 05 15:23:09 2015 -0400 |
committer | Paul Moore <pmoore@redhat.com> | Wed Aug 05 17:46:42 2015 -0400 |
tree | 2ac589add6d037ee2f3f1c736ce276d72fd85103 | |
parent | ae9d2fb482fa48f637b6705e6fef6f7f999ec779 [diff] |
audit: make audit_del_rule() more robust Move the access to the entry for audit_match_signal() to earlier in the function in case the entry found is the same one passed in. This will enable it to be used by audit_remove_mark_rule(). Signed-off-by: Richard Guy Briggs <rgb@redhat.com> [PM: tweaked subject line as it no longer made sense after multiple revs] Signed-off-by: Paul Moore <pmoore@redhat.com>