diff options
| author | Christian Brauner <brauner@kernel.org> | 2026-10-05 10:09:37 -0500 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-10-12 10:58:21 +0200 |
| commit | e10899b2a098f496af6316a38a107c859b47c2a4 (patch) | |
| tree | af7b7bac04b7457bd41e85c629ff0f0d25330d6e /tools/lib/python | |
| parent | 1592d89361e9bff94bb34106d523d0e64853183d (diff) | |
| download | linux-next-e10899b2a098f496af6316a38a107c859b47c2a4.tar.gz linux-next-e10899b2a098f496af6316a38a107c859b47c2a4.zip | |
net: add SO_PEERPIDFD_THREAD to get a thread-specific pidfd
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 <aleksandr.mikhalitsyn@futurfusion.io>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Signed-off-by: Andrew Halaney <andrew@amutable.com>
Link: https://patch.msgid.link/20261005-work-unix-passpidfd-v4-7-350183b6e02a@amutable.com
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
