Skip to content

Commit 89cb121

Browse files
committed
selftests/landlock: Enable the new CONFIG_AF_UNIX_OOB
Since commit 5155cbc ("af_unix: Add a prompt to CONFIG_AF_UNIX_OOB"), the Landlock selftests's configuration is not enough to build a minimal kernel. Because scoped_signal_test checks with the MSG_OOB flag, we need to enable CONFIG_AF_UNIX_OOB for tests: # RUN fown.no_sandbox.sigurg_socket ... # scoped_signal_test.c:420:sigurg_socket:Expected 1 (1) == send(client_socket, ".", 1, MSG_OOB) (-1) # sigurg_socket: Test terminated by assertion # FAIL fown.no_sandbox.sigurg_socket ... Cc: Günther Noack <[email protected]> Acked-by: Florent Revest <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mickaël Salaün <[email protected]>
1 parent a64dcfb commit 89cb121

File tree

1 file changed

+1
-0
lines changed
  • tools/testing/selftests/landlock

1 file changed

+1
-0
lines changed

tools/testing/selftests/landlock/config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
CONFIG_AF_UNIX_OOB=y
12
CONFIG_CGROUPS=y
23
CONFIG_CGROUP_SCHED=y
34
CONFIG_INET=y

0 commit comments

Comments
 (0)