Re: [PATCH net] net/x25: inherit the listening socket's security label on accept

From: Martin Schiller

Date: Mon Nov 23 2026 - 11:44:25 EST


On Mon, 23 Nov 2026 01:31:20 +0100, Suyuan Wang wrote:
> x25_make_new() creates the socket that accept() returns by copying
> fields from the listening socket, but it never clones the listening
> socket's LSM security state -- there is no security_sk_clone(osk, sk).

Thanks!

Acked-by: Martin Schiller <ms@xxxxxxxxxx>