|
|
Subscribe / Log in / New account

Add pidfd support to the fanotify API

From:  Matthew Bobrowski <repnop-AT-google.com>
To:  jack-AT-suse.cz, amir73il-AT-gmail.com, christian.brauner-AT-ubuntu.com
Subject:  [PATCH v3 0/5] Add pidfd support to the fanotify API
Date:  Wed, 21 Jul 2021 16:17:12 +1000
Message-ID:  <cover.1626845287.git.repnop@google.com>
Cc:  linux-fsdevel-AT-vger.kernel.org, linux-api-AT-vger.kernel.org
Archive-link:  Article

Hey Jan/Amir/Christian,

This is an updated version of the FAN_REPORT_PIDFD series which contains
the addressed nits from the previous review [0]. As per request, you can
also find the draft LTP tests here [1] and man-pages update for this new
API change here [2].

[0] https://lore.kernel.org/linux-fsdevel/cover.1623282854.gi...
[1] https://github.com/matthewbobrowski/ltp/commits/fanotify_...
[2] https://github.com/matthewbobrowski/man-pages/commits/fan...

Matthew Bobrowski (5):
  kernel/pid.c: remove static qualifier from pidfd_create()
  kernel/pid.c: implement additional checks upon pidfd_create()
    parameters
  fanotify/fanotify_user.c: minor cosmetic adjustments to fid labels
  fanotify/fanotify_user.c: introduce a generic info record copying
    helper
  fanotify: add pidfd support to the fanotify API

 fs/notify/fanotify/fanotify_user.c | 252 ++++++++++++++++++++---------
 include/linux/fanotify.h           |   3 +
 include/linux/pid.h                |   1 +
 include/uapi/linux/fanotify.h      |  13 ++
 kernel/pid.c                       |  15 +-
 5 files changed, 205 insertions(+), 79 deletions(-)

-- 
2.32.0.432.gabb21c7263-goog

/M


Copyright © 2021, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds