Files
linux/tools/testing/selftests/landlock
Günther Noack 15e8d739fd selftests/landlock: Properly close a file descriptor
Add a missing close(srv_fd) call, and use EXPECT_EQ() to check the
result.

Signed-off-by: Günther Noack <gnoack3000@gmail.com>
Fixes: f83d51a5bd ("selftests/landlock: Check IOCTL restrictions for named UNIX domain sockets")
Link: https://lore.kernel.org/r/20260101134102.25938-2-gnoack3000@gmail.com
[mic: Use EXPECT_EQ() and update commit message]
Signed-off-by: Mickaël Salaün <mic@digikod.net>
2026-01-09 11:52:47 +01:00
..
2023-06-12 21:26:23 +02:00
2024-09-16 23:50:52 +02:00
2025-01-17 19:05:38 +01:00