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

Amir Goldstein amir73il@gmail.com
Tue Jun 16 13:39:01 CEST 2026


On Mon, Jun 15, 2026 at 8:06 PM AnonymeMeow <anonymemeow@gmail.com> wrote:
>
> 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@gmail.com/
>
> ---
>
> Sorry for the late reply, I accidentally broke my system last week,
> so I was busy repairing it. And I may not be able to respond in time
> due to final exams this week, sorry.
>

Great series. Nice job!

I am glad that you managed to salvage the variants idea
and made the test better on the way.

Feel free to add to the series:
Reviewed-by: Amir Goldstein <amir73il@gmail.com>

(no need to repost for adding RVB only if reposting for another reason)

Thanks!
Amir.

> ---
>
> AnonymeMeow (5):
>   fanotify20: Allow FAN_REPORT_PIDFD with FAN_REPORT_TID 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 +
>  .../kernel/syscalls/fanotify/fanotify20.c     |  19 +-
>  .../kernel/syscalls/fanotify/fanotify21.c     | 191 +++++++++++-------
>  3 files changed, 136 insertions(+), 78 deletions(-)
>
> --
> 2.54.0
>


More information about the ltp mailing list