Skip to content
Snippets Groups Projects
Commit c52df19e authored by Paul Moore's avatar Paul Moore
Browse files

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: default avatarPaul Moore <paul@paul-moore.com>
parent 4158cb60
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment