linux/tools/testing/selftests/landlock
Mickaël Salaün 627f67b6d0 selftests/landlock: Fix error message
[ Upstream commit 2107c35128 ]

The global variable errno may not be set in test_execute().  Do not use
it in related error message.

Cc: Günther Noack <gnoack@google.com>
Fixes: e1199815b4 ("selftests/landlock: Add user space tests")
Link: https://lore.kernel.org/r/20250108154338.1129069-21-mic@digikod.net
Signed-off-by: Mickaël Salaün <mic@digikod.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-02-08 09:52:02 +01:00
..
.gitignore selftests/landlock: Add user space tests 2021-04-22 12:22:11 -07:00
base_test.c selftests/landlock: Add cred_transfer test 2024-08-03 08:54:17 +02:00
common.h selftests/landlock: Test FD passing from restricted to unrestricted processes 2022-10-19 09:01:46 +02:00
config selftests/landlock: Add cred_transfer test 2024-08-03 08:54:17 +02:00
config.um selftests/landlock: Add hostfs tests 2023-06-12 21:26:23 +02:00
fs_test.c selftests/landlock: Fix error message 2025-02-08 09:52:02 +01:00
Makefile selftests/landlock: Build without static libraries 2022-10-19 22:10:56 +02:00
ptrace_test.c selftests/landlock: Test ptrace as much as possible with Yama 2023-01-27 18:53:55 +01:00
true.c selftests/landlock: Add user space tests 2021-04-22 12:22:11 -07:00