All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH v2 0/2] Fanotify tests for v5.19-rc5
@ 2022-07-25 15:14 Amir Goldstein
  2022-07-25 15:14 ` [LTP] [PATCH v2 1/2] syscalls/fanotify14: Encode the expected errno in test case Amir Goldstein
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Amir Goldstein @ 2022-07-25 15:14 UTC (permalink / raw)
  To: Petr Vorel; +Cc: Matthew Bobrowski, Jan Kara, ltp

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.

Changes since v1:
- Split comment in generic code to per test case comment
- Added RVB and Tested-by

[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     | 117 +++++++++++++-----
 2 files changed, 92 insertions(+), 29 deletions(-)

-- 
2.25.1


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-07-29 15:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-25 15:14 [LTP] [PATCH v2 0/2] Fanotify tests for v5.19-rc5 Amir Goldstein
2022-07-25 15:14 ` [LTP] [PATCH v2 1/2] syscalls/fanotify14: Encode the expected errno in test case Amir Goldstein
2022-07-25 15:14 ` [LTP] [PATCH v2 2/2] syscalls/fanotify14: Add test cases for events not allowed on non-dir Amir Goldstein
2022-07-29 15:47 ` [LTP] [PATCH v2 0/2] Fanotify tests for v5.19-rc5 Petr Vorel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.