mirror of
https://github.com/torvalds/linux.git
synced 2026-11-20 13:03:48 +00:00
SO_PEERPIDFD hands out a pidfd for the thread-group that called connect() or socketpair(). Enable workloads such as the coredump server or a broker to get a pidfd of the specific thread that connected to the socket. Reviewed-by: Alexander Mikhalitsyn <[email protected]> Reviewed-by: Kuniyuki Iwashima <[email protected]> Signed-off-by: Andrew Halaney <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Christian Brauner (Amutable) <[email protected]>