diff options
author | Mickaël Salaün <mic@digikod.net> | 2025-02-11 14:25:28 +0100 |
---|---|---|
committer | Mickaël Salaün <mic@digikod.net> | 2025-02-14 09:23:06 +0100 |
commit | 89cb121e94612cd3bb3c74b0e772ead5b40b7a5d (patch) | |
tree | 335b5ef191a3960a8091b0f8182f169aa841d255 /security | |
parent | a64dcfb451e254085a7daee5fe51bf22959d52d3 (diff) | |
download | linux-89cb121e94612cd3bb3c74b0e772ead5b40b7a5d.tar.gz linux-89cb121e94612cd3bb3c74b0e772ead5b40b7a5d.tar.bz2 linux-89cb121e94612cd3bb3c74b0e772ead5b40b7a5d.zip |
selftests/landlock: Enable the new CONFIG_AF_UNIX_OOB
Since commit 5155cbcdbf03 ("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 <gnoack@google.com>
Acked-by: Florent Revest <revest@chromium.org>
Link: https://lore.kernel.org/r/20250211132531.1625566-1-mic@digikod.net
Signed-off-by: Mickaël Salaün <mic@digikod.net>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions