Files
linux/kernel
Christian Brauner 6ae930d9db 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>
2023-04-03 11:16:56 +02:00
..
2022-12-02 11:25:00 +01:00
2022-12-21 14:31:52 -08:00
2023-03-23 17:18:35 -07:00
2022-08-29 19:47:03 -04:00
2022-09-26 10:13:13 -07:00
2023-04-03 11:16:56 +02:00
2022-11-15 00:42:02 -08:00
2023-02-02 16:26:06 -08:00
2023-04-03 11:16:56 +02:00
2022-12-27 12:52:10 +01:00
2023-02-21 13:34:07 -08:00