Thread (3 messages) 3 messages, 2 authors, 2020-11-23

Re: [PATCH] lsm,selinux: pass flowi_common instead of flowi to the LSM hooks

From: James Morris <jmorris@namei.org>
Date: 2020-11-20 03:02:43
Also in: netdev, selinux

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@gondor.apana.org.au>
Signed-off-by: Paul Moore <paul@paul-moore.com>

Acked-by: James Morris <redacted>


-- 
James Morris
[off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help