diff options
author | Christian Brauner <brauner@kernel.org> | 2023-03-27 21:22:51 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-04-03 12:16:56 +0300 |
commit | 6ae930d9dbf2d093157be33428538c91966d8a9f (patch) | |
tree | a89117e5612341376fc147f26b9715c47013d27d /Documentation/admin-guide/bug-bisect.rst | |
parent | 197b6b60ae7bc51dd0814953c562833143b292aa (diff) | |
download | linux-6ae930d9dbf2d093157be33428538c91966d8a9f.tar.xz |
pid: add pidfd_prepare()
Add a new helper that allows to reserve a pidfd and allocates a new
pidfd file that stashes the provided struct pid. This will allow us to
remove places that either open code this function or that call
pidfd_create() but then have to call close_fd() because there are still
failure points after pidfd_create() has been called.
Reviewed-by: Jan Kara <jack@suse.cz>
Message-Id: <20230327-pidfd-file-api-v1-1-5c0e9a3158e4@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'Documentation/admin-guide/bug-bisect.rst')
0 files changed, 0 insertions, 0 deletions