[PATCH net-next 1/4] security: Constify sk in the sk_getsecid hook.
Simon Horman
simon.horman at corigine.com
Thu Jul 13 09:32:19 UTC 2023
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 <gnault at redhat.com>
Reviewed-by: Simon Horman <simon.horman at corigine.com>
More information about the Linux-security-module-archive
mailing list