Thread (14 messages) 14 messages, 5 authors, 2023-07-18

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

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>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help