Commit c52df19
committed
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>1 parent 4158cb6 commit c52df19
1 file changed
Lines changed: 18 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3541 | 3541 | | |
3542 | 3542 | | |
3543 | 3543 | | |
3544 | | - | |
3545 | 3544 | | |
3546 | 3545 | | |
3547 | 3546 | | |
3548 | 3547 | | |
3549 | 3548 | | |
3550 | | - | |
3551 | 3549 | | |
3552 | | - | |
3553 | 3550 | | |
3554 | 3551 | | |
3555 | 3552 | | |
3556 | | - | |
3557 | 3553 | | |
3558 | | - | |
3559 | | - | |
| 3554 | + | |
| 3555 | + | |
| 3556 | + | |
| 3557 | + | |
3560 | 3558 | | |
3561 | 3559 | | |
3562 | 3560 | | |
3563 | 3561 | | |
3564 | | - | |
3565 | 3562 | | |
3566 | | - | |
3567 | | - | |
| 3563 | + | |
| 3564 | + | |
| 3565 | + | |
| 3566 | + | |
3568 | 3567 | | |
3569 | 3568 | | |
3570 | 3569 | | |
3571 | 3570 | | |
3572 | | - | |
3573 | 3571 | | |
3574 | | - | |
3575 | | - | |
| 3572 | + | |
| 3573 | + | |
| 3574 | + | |
| 3575 | + | |
3576 | 3576 | | |
3577 | 3577 | | |
3578 | 3578 | | |
| |||
3582 | 3582 | | |
3583 | 3583 | | |
3584 | 3584 | | |
3585 | | - | |
| 3585 | + | |
3586 | 3586 | | |
3587 | 3587 | | |
3588 | | - | |
3589 | | - | |
3590 | 3588 | | |
3591 | 3589 | | |
3592 | | - | |
3593 | | - | |
3594 | | - | |
3595 | | - | |
3596 | | - | |
3597 | 3590 | | |
| 3591 | + | |
3598 | 3592 | | |
| 3593 | + | |
| 3594 | + | |
| 3595 | + | |
| 3596 | + | |
3599 | 3597 | | |
3600 | 3598 | | |
3601 | 3599 | | |
| |||
0 commit comments