Thread (16 messages) 16 messages, 2 authors, 11d ago

Re: [PATCH v3 07/10] net: add SO_PEERPIDFD_THREAD to get a thread-specific pidfd

flat view

From: Kuniyuki Iwashima <kuniyu@google.com>
Date: 2026-10-01 04:38:30
Also in: linux-fsdevel, lkml

On Mon, Sep 28, 2026 at 2:27 AM Andrew Halaney [off-list ref] wrote:
From: Christian Brauner <brauner@kernel.org>

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.

Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Reviewed-by: Alexander Mikhalitsyn <redacted>
Signed-off-by: Andrew Halaney <redacted>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help