summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorPaul Moore <paul@paul-moore.com>2023-05-06 01:49:44 +0300
committerPaul Moore <paul@paul-moore.com>2023-05-08 23:53:41 +0300
commitc52df19e3759055cf07d1c0030c46ea958163aa9 (patch)
tree4cc27a085c30c74306050af7f320948cb038804d /samples
parent4158cb600006371f4359f6ef23a0f1a7255e8843 (diff)
downloadlinux-c52df19e3759055cf07d1c0030c46ea958163aa9.tar.xz
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 'samples')
0 files changed, 0 insertions, 0 deletions