diff options
| author | Mickaël Salaün <mic@linux.microsoft.com> | 2025-07-08 12:20:25 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2025-07-09 10:22:52 +0000 |
| commit | 647091d604f00b9292bdd7fbc96b55bdfa2bcf52 (patch) | |
| tree | 3f1faa3d87b982fce52bf9560dbd79d9c00492c2 /executor | |
| parent | 7e392eba1e0e0ec74b66df31e942dd13d4682c78 (diff) | |
sys/linux/test: fix landlock_fs_ioctl
When running syz-manager with -mode run-tests --tests landlock_fs_ioctl -debug
we get this result:
#0 [1300ms] -> ioctl(0x4, 0x5460, 0x0)
#0 [1300ms] <- ioctl=0xffffffffffffffff errno=14
#0 [1300ms] -> ioctl(0x4, 0x5451, 0x0)
#0 [1300ms] <- ioctl=0x0
[...]
landlock_fs_ioctl none : FAIL: run 0: wrong call 5 result 14, want 13
The ioctl call returns EFAULT instead of EACCES.
Change this test to create a /dev/null device and use a valid device
IOCTL.
Signed-off-by: Mickaël Salaün <mic@linux.microsoft.com>
Diffstat (limited to 'executor')
0 files changed, 0 insertions, 0 deletions
