diff options
author | Paul Moore <paul@paul-moore.com> | 2023-05-06 01:49:44 +0300 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2023-05-08 23:53:41 +0300 |
commit | c52df19e3759055cf07d1c0030c46ea958163aa9 (patch) | |
tree | 4cc27a085c30c74306050af7f320948cb038804d /net/unix/af_unix.c | |
parent | 4158cb600006371f4359f6ef23a0f1a7255e8843 (diff) | |
download | linux-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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions