[LTP] [PATCH v3 0/3] Add test support for the new fanotify FAN_REPORT_PIDFD feature

Matthew Bobrowski repnop@google.com
Tue Nov 9 11:04:35 CET 2021


This is a follow up series of the previous series [0] that I had
posted through which factors in Amir's recommendation around the
splitting of the new macro helper into a separate patch.

Apart from that, there's no difference.

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

Matthew Bobrowski (3):
  syscalls/fanotify: Add a helper macro which checks for the presence of
    specific fanotify initialization flag(s)
  syscalls/fanotify20: add new test for FAN_REPORT_PIDFD
  syscalls/fanotify21: test returned pidfd from fanotify in
    FAN_REPORT_PIDFD mode

 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 ++++++++++++++++++
 4 files changed, 462 insertions(+)
 create mode 100644 testcases/kernel/syscalls/fanotify/fanotify20.c
 create mode 100644 testcases/kernel/syscalls/fanotify/fanotify21.c

-- 
2.34.0.rc0.344.g81b53c2807-goog

/M


More information about the ltp mailing list