audit: invalid op= values for rules
authorBurn Alting <burn@swtf.dyndns.org>
Fri, 4 Apr 2014 05:00:38 +0000 (16:00 +1100)
committerEric Paris <eparis@redhat.com>
Tue, 23 Sep 2014 20:37:53 +0000 (16:37 -0400)
commite7df61f4d1ddb7fdd654dde6cd40f7cc398c3932
treeadd425cf72c2343e32a10e8a0c0e2ce22affe668
parent01478d7d60f654419ba863856cad0446bcb73a59
audit: invalid op= values for rules

Various audit events dealing with adding, removing and updating rules result in
invalid values set for the op keys which result in embedded spaces in op=
values.

The invalid values are
        op="add rule"       set in kernel/auditfilter.c
        op="remove rule"    set in kernel/auditfilter.c
        op="remove rule"    set in kernel/audit_tree.c
        op="updated rules"  set in kernel/audit_watch.c
        op="remove rule"    set in kernel/audit_watch.c

Replace the space in the above values with an underscore character ('_').

Coded-by: Burn Alting <burn@swtf.dyndns.org>
Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
kernel/audit_tree.c
kernel/audit_watch.c
kernel/auditfilter.c