diff options
author | Richard Guy Briggs | 2013-11-20 20:01:53 +0100 |
---|---|---|
committer | Eric Paris | 2014-01-14 04:31:22 +0100 |
commit | ce0d9f04699706843e8a494d12cf6c7663d478c7 (patch) | |
tree | 34cae2d8036f35933d49d3a02c49b37e0d95811b /kernel/rtmutex-debug.c | |
parent | audit: log AUDIT_TTY_SET config changes (diff) | |
download | kernel-qcow2-linux-ce0d9f04699706843e8a494d12cf6c7663d478c7.tar.gz kernel-qcow2-linux-ce0d9f04699706843e8a494d12cf6c7663d478c7.tar.xz kernel-qcow2-linux-ce0d9f04699706843e8a494d12cf6c7663d478c7.zip |
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 <rgb@redhat.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'kernel/rtmutex-debug.c')
0 files changed, 0 insertions, 0 deletions