[LTP] [PATCH v2 0/2] Test support for new fanotify FAN_REPORT_PIDFD feature

Matthew Bobrowski repnop@google.com
Tue Nov 2 11:57:08 CET 2021


Hi,

This patch series introduces LTP tests for the new fanotify
FAN_REPORT_PIDFD feature which has been merged as part of the v5.15
release.

I've addressed the minor nits that came out of the first round of
review, which can be found here [0].

[0] https://lore.kernel.org/ltp/cover.1635327490.git.repnop@google.com/

Matthew Bobrowski (2):
  syscalls/fanotify20: add new test for FAN_REPORT_PIDFD
  syscalls/fanotify21: add new test checking the returned pidfd from
    fanotify in FAN_REPORT_PIDFD mode

 configure.ac                                  |   2 +-
 testcases/kernel/syscalls/fanotify/.gitignore |   2 +
 testcases/kernel/syscalls/fanotify/fanotify.h |  26 ++
 .../kernel/syscalls/fanotify/fanotify20.c     | 128 ++++++++
 .../kernel/syscalls/fanotify/fanotify21.c     | 306 ++++++++++++++++++
 5 files changed, 463 insertions(+), 1 deletion(-)
 create mode 100644 testcases/kernel/syscalls/fanotify/fanotify20.c
 create mode 100644 testcases/kernel/syscalls/fanotify/fanotify21.c

-- 
2.33.1.1089.g2158813163f-goog

/M


More information about the ltp mailing list