summaryrefslogtreecommitdiff
path: root/kernel/auditsc.c
diff options
context:
space:
mode:
authorRichard Guy Briggs <rgb@redhat.com>2018-06-14 16:20:06 -0400
committerPaul Moore <paul@paul-moore.com>2018-06-28 11:44:31 -0400
commit4fa7f086993594e79f456a04656da2fcb5691209 (patch)
tree8041b614bc85127efabd737a2dbe285e273c6f6b /kernel/auditsc.c
parent65a8766f5f50a5cd342f3d8f77a30917648ddb67 (diff)
audit: simplify audit_enabled check in audit_watch_log_rule_change()
Check the audit_enabled flag and bail immediately. This does not change the functionality, but brings the code format in line with similar checks in audit_tree_log_remove_rule(), audit_mark_log_rule_change(), and elsewhere in the audit code. See: https://github.com/linux-audit/audit-kernel/issues/50 Signed-off-by: Richard Guy Briggs <rgb@redhat.com> [PM: tweaked subject line] Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'kernel/auditsc.c')
0 files changed, 0 insertions, 0 deletions