summaryrefslogtreecommitdiff
path: root/security/security.c
diff options
context:
space:
mode:
authorPaul Moore <paul@paul-moore.com>2023-05-05 18:49:44 -0400
committerPaul Moore <paul@paul-moore.com>2023-05-08 16:53:41 -0400
commitc52df19e3759055cf07d1c0030c46ea958163aa9 (patch)
tree4cc27a085c30c74306050af7f320948cb038804d /security/security.c
parent4158cb600006371f4359f6ef23a0f1a7255e8843 (diff)
selinux: small cleanups in selinux_audit_rule_init()
A few small tweaks to selinux_audit_rule_init(): - Adjust how we use the @rc variable so we are not doing any extra work in the common/success case. - Related to the above, rework the 'out' jump label so that the success and error paths are different, simplifying both. - Cleanup some of the vertical whitespace while we are making the other changes. Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/security.c')
0 files changed, 0 insertions, 0 deletions