linux/tools/testing/selftests/net/af_unix
Matthieu Baerts (NGI0) f8b1abed73 selftests: af_unix: add USER_NS config
This is required to use unshare(CLONE_NEWUSER).

This has not been seen on NIPA before, because the 'af_unix' tests are
executed with the 'net' ones, merging their config files. USER_NS is
present in tools/testing/selftests/net/config.

This issue is visible when only the af_unix config is used on top of the
default one. This is the recommended way to execute selftest targets.

Fixes: ac011361bd ("af_unix: Add test for sock_diag and UDIAG_SHOW_UID.")
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20260710-net-sft-fix-containers-v1-1-a2915c294ef5@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
History 2026-07-21 15:01:29 -07:00
..
.gitignore selftest: af_unix: Create its own .gitignore. 2025-11-25 19:52:28 -08:00
config selftests: af_unix: add USER_NS config 2026-07-21 15:01:29 -07:00
diag_uid.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
Makefile selftest: af_unix: Support compilers without flex-array-member-not-at-end support 2025-12-10 01:08:51 -08:00
msg_oob.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
scm_inq.c af_unix: Add test for SCM_INQ on partial read 2026-06-03 18:52:25 -07:00
scm_pidfd.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
scm_rights.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
so_peek_off.c selftests: af_unix: validate SO_PEEK_OFF advancement and reset 2026-03-11 18:20:17 -07:00
unix_connect.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
unix_connreset.c selftests: af_unix: remove unused stdlib.h include 2025-11-27 12:42:51 +01:00