pidfs: move setting flags into pidfs_alloc_file()
Instead od adding it into __pidfd_prepare() place it where the actual file allocation happens and update the outdated comment. Link: https://lore.kernel.org/r/20250305-work-pidfs-kill_on_last_close-v3-3-c8c3d8361705@kernel.org Reviewed-by:Jeff Layton <jlayton@kernel.org> Reviewed-by:
Oleg Nesterov <oleg@redhat.com> Signed-off-by:
Christian Brauner <brauner@kernel.org>
Loading
Please sign in to comment