Re: [PATCH] selinux: small cleanups in selinux_audit_rule_init()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 5, 2023 at 6:49 PM Paul Moore <paul@xxxxxxxxxxxxxx> wrote:
>
> 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@xxxxxxxxxxxxxx>
> ---
>  security/selinux/ss/services.c | 38 ++++++++++++++++------------------
>  1 file changed, 18 insertions(+), 20 deletions(-)

Merged into selinux/next.

-- 
paul-moore.com




[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux