[PATCH net] net/x25: inherit the listening socket's security label on accept
Martin Schiller
ms at dev.tdt.de
Mon Nov 23 16:44:04 UTC 2026
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 at dev.tdt.de>
More information about the Linux-security-module-archive
mailing list