Skip to content

fanotify: update pidfd tests for FAN_REPORT_TID

AnonymeMeow ltp 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 11 repliesIn review
  2. v15 patches 12 repliesSuperseded

Changes in v2 from the cover letter

- Added upstream commit reference in comment
- skip FAN_REPORT_PIDFD | FAN_REPORT_TID tests for kernel v7.2+
- Added pthread link flag

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5fanotify20: Skip FAN_REPORT_PIDFD | FAN_REPORT_TID test on v7.2+testcases/kernel/syscalls/fanotify/fanotify20.c+10 -46 replies
2/5fanotify21: Stop relying on exited child for pidfd errortestcases/kernel/syscalls/fanotify/fanotify21.c+24 -314 replies
3/5fanotify21: Simplify read_pidfd_fdinfo()testcases/kernel/syscalls/fanotify/fanotify21.c+20 -410 replies
4/5fanotify21: Add test variants for FAN_REPORT_TIDinclude/lapi/pidfd.h testcases/kernel/syscalls/fanotify/fanotify21.c+48 -130 replies
5/5fanotify21: Add FAN_REPORT_TID pidfd coveragetestcases/kernel/syscalls/fanotify/Makefile testcases/kernel/syscalls/fanotify/fanotify21.c+47 -21 reply

Reviews trailers per patch

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

PatchJan KaraAmir Goldstein
1/5R-b
2/5R-b R-b
3/5R-b R-b
4/5R-b R-b
5/5R-b

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

Read the v2 thread

Cover letter [LTP] [PATCH v2 0/5] fanotify: update pidfd tests for FAN_REPORT_TID

This patch set updates fanotify pidfd tests for the kernel change that adds FAN_REPORT_PIDFD support together with FAN_REPORT_TID.

---

Changes since v1:
- Added upstream commit reference in comment
- skip FAN_REPORT_PIDFD | FAN_REPORT_TID tests for kernel v7.2+
- Added pthread link flag

v1: https://lore.kernel.org/ltp/[email protected]/

---

AnonymeMeow (5):
fanotify20: Skip FAN_REPORT_PIDFD | FAN_REPORT_TID test on v7.2+
fanotify21: Stop relying on exited child for pidfd error
fanotify21: Simplify read_pidfd_fdinfo()
fanotify21: Add test variants for FAN_REPORT_TID
fanotify21: Add FAN_REPORT_TID pidfd coverage

 include/lapi/pidfd.h                          |   4 +
 testcases/kernel/syscalls/fanotify/Makefile   |   2 +-
 .../kernel/syscalls/fanotify/fanotify20.c     |  14 +-
 .../kernel/syscalls/fanotify/fanotify21.c     | 192 +++++++++++-------
 4 files changed, 135 insertions(+), 77 deletions(-)
Signature · 5 lines
2.54.0


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