Merge patch series "allow to create pidfds for reaped tasks with SCM_PIDFD"
authorChristian Brauner <brauner@kernel.org>
Fri, 4 Jul 2025 07:32:42 +0000 (09:32 +0200)
committerChristian Brauner <brauner@kernel.org>
Fri, 4 Jul 2025 07:32:42 +0000 (09:32 +0200)
commit7a5b467e5d1a4b1968b590e3d09d895590a83ff6
treede4f99ff02c88682e94fb8bfa85c1762732e032a
parent867673063e1da91cf960133f25d87e38fc790d7b
parent861bdc6314a49520d9b3778b763461517c1321c0
Merge patch series "allow to create pidfds for reaped tasks with SCM_PIDFD"

This is a logical continuation of the earlier work to create pidfds for
reaped tasks through the SO_PEERPIDFD socket option merged in
923ea4d4482b ("Merge patch series "net, pidfs: enable handing out pidfds
for reaped sk->sk_peer_pid"").

* patches from https://lore.kernel.org/20250703222314.309967-1-aleksandr.mikhalitsyn@canonical.com:
  selftests: net: extend SCM_PIDFD test to cover stale pidfds
  af_unix: enable handing out pidfds for reaped tasks in SCM_PIDFD
  af_unix: stash pidfs dentry when needed
  af_unix/scm: fix whitespace errors
  af_unix: introduce and use scm_replace_pid() helper
  af_unix: introduce unix_skb_to_scm helper
  af_unix: rework unix_maybe_add_creds() to allow sleep

Link: https://lore.kernel.org/20250703222314.309967-1-aleksandr.mikhalitsyn@canonical.com
Signed-off-by: Christian Brauner <brauner@kernel.org>