[PATCH v2 0/5] fanotify: update pidfd tests for FAN_REPORT_TID
AnonymeMeow <[email protected]>
| Newsgroups | gmane.linux.ltp |
|---|---|
| Message-ID | <[email protected]> |
This patch set updates fanotify pidfd tests for the kernel change that adds FAN_REPORT_PIDFD support together with FAN_REPORT_TID. Link: https://lore.kernel.org/lkml/20260607003343.425939-1-anonymemeow-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org/ --- 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/20260615180629.7148-1-anonymemeow-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org/ --- 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(-) -- 2.54.0 -- Mailing list info: https://lists.linux.it/listinfo/ltp