]> git.baikalelectronics.ru Git - kernel.git/commit
audit: fix formatting of AUDIT_CONFIG_CHANGE events
authorSteve Grubb <sgrubb@redhat.com>
Wed, 16 Nov 2016 21:14:33 +0000 (16:14 -0500)
committerPaul Moore <paul@paul-moore.com>
Sun, 20 Nov 2016 20:38:00 +0000 (15:38 -0500)
commitded199b4a8fe01b47f032ebf27d0fe5d839e4945
tree5b33f318b333b8bf61e2f24f9767bc977b2c261e
parenta323c88c23ce32ae18dd4506b1e522ac2a22183f
audit: fix formatting of AUDIT_CONFIG_CHANGE events

The AUDIT_CONFIG_CHANGE events sometimes use a op= field. The current
code logs the value of the field with quotes. This field is documented
to not be encoded, so it should not have quotes.

Signed-off-by: Steve Grubb <sgrubb@redhat.com>
Reviewed-by: Richard Guy Briggs <rgb@redhat.com>
[PM: reformatted commit description to make checkpatch.pl happy]
Signed-off-by: Paul Moore <paul@paul-moore.com>
kernel/audit_fsnotify.c
kernel/audit_tree.c
kernel/audit_watch.c
kernel/auditfilter.c