audit: cull redundancy in audit_rule_change
authorRichard Guy Briggs <rgb@redhat.com>
Fri, 3 Oct 2014 02:05:19 +0000 (22:05 -0400)
committerEric Paris <eparis@redhat.com>
Fri, 10 Oct 2014 19:07:58 +0000 (15:07 -0400)
commite85322d21cfebeac64f58a204e9adc0bc5c1e46f
tree9f7b9e1e1050697c0b474a8dfd969ed5fb69d29e
parent739c95038e68d364b01c0fc6f8fb8e47b1c1e979
audit: cull redundancy in audit_rule_change

Re-factor audit_rule_change() to reduce the amount of code redundancy and
simplify the logic.

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
kernel/auditfilter.c