From: Richard Guy Briggs Date: Wed, 20 Nov 2013 19:01:53 +0000 (-0500) Subject: audit: refactor audit_receive_msg() to clarify AUDIT_*_RULE* cases X-Git-Tag: v3.14-rc1~118^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce0d9f04699706843e8a494d12cf6c7663d478c7;p=pandora-kernel.git audit: refactor audit_receive_msg() to clarify AUDIT_*_RULE* cases audit_receive_msg() needlessly contained a fallthrough case that called audit_receive_filter(), containing no common code between the cases. Separate them to make the logic clearer. Refactor AUDIT_LIST_RULES, AUDIT_ADD_RULE, AUDIT_DEL_RULE cases to create audit_rule_change(), audit_list_rules_send() functions. This should not functionally change the logic. Signed-off-by: Richard Guy Briggs Signed-off-by: Eric Paris --- Reading git-diff-tree failed