Thread (3 messages) flat view 3 messages, 2 authors, 2026-08-14

Re: [PATCH net-next v7 4/4] selftest: Add tests for useful handling of LSM denials on SCM_RIGHTS

From: Jakub Kicinski <kuba@kernel.org>
Date: 2026-08-14 16:55:13
Also in: linux-fsdevel, lkml

On Fri, 14 Aug 2026 08:11:31 -0400 Jori Koolstra wrote:
Tests SCM_RIGHTS fd passing on a socket with the new socket option
SO_RIGHTS_NOTRUNC turned on. To hook into the security_file_receive()
call, BPF is used. The BPF program shares a hashmap with userspace that
lists the inos to be blocked (of the receiver tgid).
Sigh. You are ccing netdev@ only on the selftest.
I think that this is a clear indication that the selftest 
does not belong under tools/testing/selftests/net
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help