Re: [PATCH net-next 1/4] security: Constify sk in the sk_getsecid hook.
From: Simon Horman <hidden>
Date: 2023-07-13 09:32:32
Also in:
linux-security-module, selinux
From: Simon Horman <hidden>
Date: 2023-07-13 09:32:32
Also in:
linux-security-module, selinux
On Tue, Jul 11, 2023 at 03:06:08PM +0200, Guillaume Nault wrote:
The sk_getsecid hook shouldn't need to modify its socket argument. Make it const so that callers of security_sk_classify_flow() can use a const struct sock *. Signed-off-by: Guillaume Nault <redacted>
Reviewed-by: Simon Horman <redacted>