Re: [PATCH net-next v3 0/7] allow reaped pidfds receive in SCM_PIDFD

From: Christian Brauner
Date: Fri Jul 04 2025 - 03:42:37 EST


On Fri, 04 Jul 2025 00:23:04 +0200, Alexander Mikhalitsyn wrote:
> This is a logical continuation of a story from [1], where Christian
> extented SO_PEERPIDFD to allow getting pidfds for a reaped tasks.
>
> Git tree (based on vfs/vfs-6.17.pidfs):
> v3: https://github.com/mihalicyn/linux/commits/scm_pidfd_stale.v3
> current: https://github.com/mihalicyn/linux/commits/scm_pidfd_stale
>
> [...]

Applied to the vfs-6.17.pidfs branch of the vfs/vfs.git tree.
Patches in the vfs-6.17.pidfs branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs-6.17.pidfs

[1/7] af_unix: rework unix_maybe_add_creds() to allow sleep
https://git.kernel.org/vfs/vfs/c/9bedee7cdf4c
[2/7] af_unix: introduce unix_skb_to_scm helper
https://git.kernel.org/vfs/vfs/c/ee47976264cd
[3/7] af_unix: introduce and use scm_replace_pid() helper
https://git.kernel.org/vfs/vfs/c/30580dc96a3e
[4/7] af_unix/scm: fix whitespace errors
https://git.kernel.org/vfs/vfs/c/2b9996417e4e
[5/7] af_unix: stash pidfs dentry when needed
https://git.kernel.org/vfs/vfs/c/2775832f71e5
[6/7] af_unix: enable handing out pidfds for reaped tasks in SCM_PIDFD
https://git.kernel.org/vfs/vfs/c/c679d17d3f2d
[7/7] selftests: net: extend SCM_PIDFD test to cover stale pidfds
https://git.kernel.org/vfs/vfs/c/861bdc6314a4