Re: [PATCH] selinux: cleanup selinux_lsm_getattr()

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

 



On Feb 23, 2024 Paul Moore <paul@xxxxxxxxxxxxxx> wrote:
> 
> A number of small changes to selinux_lsm_getattr() to improve the
> quality and readability of the code:
> 
> * Explicitly set the `value` parameter to NULL in the case where an
>   attribute has not been set.
> * Rename the `__tsec` variable to `tsec` to better fit the SELinux code.
> * Rename `bad` to `err_unlock` to better indicate the jump target drops
>   the RCU lock.
> 
> Signed-off-by: Paul Moore <paul@xxxxxxxxxxxxxx>
> ---
>  security/selinux/hooks.c | 36 ++++++++++++++++++------------------
>  1 file changed, 18 insertions(+), 18 deletions(-)

Merged into selinux/dev.

--
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