Re: [PATCH 1/2] selinux: streamline selinux_nlmsg_lookup()

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

 



On Thu, Sep 26, 2024 at 11:45 AM Paul Moore <paul@xxxxxxxxxxxxxx> wrote:
>
> On Wed, Sep 25, 2024 at 8:48 PM Thiébaud Weksteen <tweek@xxxxxxxxxx> wrote:
> > On Thu, Sep 26, 2024 at 6:11 AM Paul Moore <paul@xxxxxxxxxxxxxx> wrote:
> > >
> > > Streamline the code in selinux_nlmsg_lookup() to improve the code flow,
> > > readability, and remove the unnecessary local variables.
> > >
> > > Signed-off-by: Paul Moore <paul@xxxxxxxxxxxxxx>
> > > ---
> > >  security/selinux/nlmsgtab.c | 90 ++++++++++++++++---------------------
> > >  1 file changed, 39 insertions(+), 51 deletions(-)
> > >
> > > diff --git a/security/selinux/nlmsgtab.c b/security/selinux/nlmsgtab.c
>
> ...
> >
> > Should it be NETLINK_AUDIT_SOCKET__NLMSG here?
>
> Yes it should, thanks!
>

With the right constant:

Tested-by: Thiébaud Weksteen <tweek@xxxxxxxxxx>





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

  Powered by Linux