[PATCH v4 0/5] Add pidfd support to the fanotify API
From: Matthew Bobrowski <repnop@google.com>
Date: 2021-08-08 05:24:22
Also in:
linux-fsdevel
Hey Jan/Amir, This is V5 of the FAN_REPORT_PIDFD patch series. It contains the minor comment/commit description fixes that were picked up by Amir in the last series review [0, 1]. LTP tests for this API change can be found here [2]. Man page updates for this change can be found here [3]. [0] https://lore.kernel.org/linux-fsdevel/CAOQ4uxhnCk+FXK_e_GA=jC_0HWO+3ZdwHSi=zCa2Kpb0NDxBSg@mail.gmail.com/ (local) [1] https://lore.kernel.org/linux-fsdevel/CAOQ4uxgO3oViTSFZ0zs6brrHrmw362r1C9SQ7g6=XgRwyrzMuw@mail.gmail.com/ (local) [2] https://github.com/matthewbobrowski/ltp/tree/fanotify_pidfd_v2 [3] https://github.com/matthewbobrowski/man-pages/tree/fanotify_pidfd_v1 Matthew Bobrowski (5): kernel/pid.c: remove static qualifier from pidfd_create() kernel/pid.c: implement additional checks upon pidfd_create() parameters fanotify: minor cosmetic adjustments to fid labels fanotify: introduce a generic info record copying helper fanotify: add pidfd support to the fanotify API fs/notify/fanotify/fanotify_user.c | 251 ++++++++++++++++++++--------- include/linux/fanotify.h | 3 + include/linux/pid.h | 1 + include/uapi/linux/fanotify.h | 13 ++ kernel/pid.c | 15 +- 5 files changed, 204 insertions(+), 79 deletions(-) -- 2.32.0.605.g8dce9f2422-goog /M