Repository navigation
Commit 8c85fc9
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>1 parent ae9d2fb commit 8c85fc9
1 file changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
953 | 953 | | |
954 | 954 | | |
955 | 955 | | |
956 | | - | |
957 | 956 | | |
958 | 957 | | |
959 | 958 | | |
| |||
964 | 963 | | |
965 | 964 | | |
966 | 965 | | |
967 | | - | |
968 | | - | |
969 | | - | |
970 | | - | |
971 | 966 | | |
972 | 967 | | |
973 | 968 | | |
974 | 969 | | |
975 | 970 | | |
976 | 971 | | |
977 | 972 | | |
978 | | - | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
979 | 977 | | |
980 | 978 | | |
| 979 | + | |
| 980 | + | |
981 | 981 | | |
982 | 982 | | |
983 | 983 | | |
| |||
0 commit comments