summaryrefslogtreecommitdiffstats
path: root/kernel/auditsc.c
diff options
context:
space:
mode:
authorRichard Guy Briggs2015-08-05 21:23:09 +0200
committerPaul Moore2015-08-05 23:46:42 +0200
commit8c85fc9ae69a4510ba5e2bd5fac2c1d9d60967ad (patch)
tree2ac589add6d037ee2f3f1c736ce276d72fd85103 /kernel/auditsc.c
parentaudit: fix uninitialized variable in audit_add_rule() (diff)
downloadkernel-qcow2-linux-8c85fc9ae69a4510ba5e2bd5fac2c1d9d60967ad.tar.gz
kernel-qcow2-linux-8c85fc9ae69a4510ba5e2bd5fac2c1d9d60967ad.tar.xz
kernel-qcow2-linux-8c85fc9ae69a4510ba5e2bd5fac2c1d9d60967ad.zip
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>
Diffstat (limited to 'kernel/auditsc.c')
0 files changed, 0 insertions, 0 deletions