lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LRH.2.21.2011201401570.20132@namei.org>
Date:   Fri, 20 Nov 2020 14:02:09 +1100 (AEDT)
From:   James Morris <jmorris@...ei.org>
To:     Paul Moore <paul@...l-moore.com>
cc:     linux-security-module@...r.kernel.org, netdev@...r.kernel.org,
        selinux@...r.kernel.org, Herbert Xu <herbert@...dor.apana.org.au>
Subject: Re: [PATCH] lsm,selinux: pass flowi_common instead of flowi to the
 LSM hooks

On Thu, 19 Nov 2020, Paul Moore wrote:

> As pointed out by Herbert in a recent related patch, the LSM hooks do
> not have the necessary address family information to use the flowi
> struct safely.  As none of the LSMs currently use any of the protocol
> specific flowi information, replace the flowi pointers with pointers
> to the address family independent flowi_common struct.
> 
> Reported-by: Herbert Xu <herbert@...dor.apana.org.au>
> Signed-off-by: Paul Moore <paul@...l-moore.com>


Acked-by: James Morris <jamorris@...ux.microsoft.com>


-- 
James Morris
<jmorris@...ei.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ