diff options
| author | Günther Noack <gnoack3000@gmail.com> | 2026-01-01 14:40:58 +0100 |
|---|---|---|
| committer | Mickaël Salaün <mic@digikod.net> | 2026-01-09 11:52:47 +0100 |
| commit | 15e8d739fda1084d81f7d3813e9600eba6e0f134 (patch) | |
| tree | 0d712c99b06fd7e8fd9fda6f679c3233ca4c0284 /scripts | |
| parent | ef4536f15224418b327a7b5d5cae07dab042760f (diff) | |
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: f83d51a5bdfe ("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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
