[LTP] [PATCH 0/2] Fanotify tests for v5.19-rc5

Amir Goldstein amir73il@gmail.com
Tue Jul 19 11:58:51 CEST 2022


Hi Petr,

This updates the tests to validate the current ENOTDIR behavior of
fanotify that was merged for v5.19-rc5 and v5.18.10.

This is a retroactive change for APIs FAN_REPORT_TARGET_FID
and FAN_RENAME introduced in v5.17.

The current upstream behavior is already documented in man pages [1].

Thanks,
Amir.

[1] https://lore.kernel.org/linux-man/20220630190610.3043428-1-amir73il@gmail.com/

Amir Goldstein (2):
  syscalls/fanotify14: Encode the expected errno in test case
  syscalls/fanotify14: Add test cases for events not allowed on non-dir

 testcases/kernel/syscalls/fanotify/fanotify.h |   4 +-
 .../kernel/syscalls/fanotify/fanotify14.c     | 102 +++++++++++++++---
 2 files changed, 88 insertions(+), 18 deletions(-)

-- 
2.25.1



More information about the ltp mailing list