Commit 0cc8fc34 authored by Mickaël Salaün's avatar Mickaël Salaün Committed by Greg Kroah-Hartman
Browse files

selftests/landlock: Fix error message

[ Upstream commit 2107c351 ]

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: e1199815 ("selftests/landlock: Add user space tests")
Link: https://lore.kernel.org/r/20250108154338.1129069-21-mic@digikod.net


Signed-off-by: default avatarMickaël Salaün <mic@digikod.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 78eadb30
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment