Re: [PATCH -next,v2] selinux: refactor code to return ERR_PTR in selinux_netlbl_sock_genattr

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

 



On Thu, Jul 11, 2024 at 9:45 PM Gaosheng Cui <cuigaosheng1@xxxxxxxxxx> wrote:
>
> Refactor the code in selinux_netlbl_sock_genattr to return ERR_PTR
> when an error occurs.
>
> Signed-off-by: Gaosheng Cui <cuigaosheng1@xxxxxxxxxx>
> ---
> v2: Reomve modifications to netif and netport, and update the commit message.
>  security/selinux/netlabel.c | 18 +++++++++---------
>  1 file changed, 9 insertions(+), 9 deletions(-)

Looks good to me, I've merged this into selinux/dev.  Thanks!

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