Skip to content

Add test support for the new fanotify FAN_REPORT_PIDFD feature

Matthew Bobrowski via ltp ltp 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 4 repliesIn review
  2. v22 patches 7 repliesSuperseded
  3. v12 patches 6 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3syscalls/fanotify: Add a helper macro which checks for the presence of specific fanotify initialization flag(s)testcases/kernel/syscalls/fanotify/fanotify.h+5 -04 replies
2/3syscalls/fanotify20: add new test for FAN_REPORT_PIDFDtestcases/kernel/syscalls/fanotify/.gitignore testcases/kernel/syscalls/fanotify/fanotify.h testcases/kernel/syscalls/fanotify/fanotify20.c+150 -00 replies
3/3syscalls/fanotify21: test returned pidfd from fanotify in FAN_REPORT_PIDFD modetestcases/kernel/syscalls/fanotify/.gitignore testcases/kernel/syscalls/fanotify/fanotify21.c+307 -00 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchAmir Goldstein
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

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

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/[email protected]/

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
Signature · 6 lines
2.34.0.rc0.344.g81b53c2807-goog

/M

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