diff options
| author | Christian Brauner <brauner@kernel.org> | 2026-10-05 10:09:32 -0500 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-10-12 10:58:20 +0200 |
| commit | c48ae5bcfc356a8472132ad7fbdd5df83a34e8ac (patch) | |
| tree | 6af2596a2f20a5fa763dba541daee6ed1e9a178f /tools/lib/python | |
| parent | fd0349aadbb99252931e237df15f72e43e649254 (diff) | |
| download | linux-next-c48ae5bcfc356a8472132ad7fbdd5df83a34e8ac.tar.gz linux-next-c48ae5bcfc356a8472132ad7fbdd5df83a34e8ac.zip | |
af_unix: record the pid of the sending thread
Currently only the struct pid of the thread-group leader is recorded.
The identity of the actual thread that sent the message or is connected
to a given socket cannot be retrieved.
Add the plumbing to make it possible to retrieve a pidfd for the sender.
Nothing uses the thread-specific struct pid yet. No functional changes.
Reviewed-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@futurfusion.io>
Signed-off-by: Andrew Halaney <andrew@amutable.com>
Link: https://patch.msgid.link/20261005-work-unix-passpidfd-v4-2-350183b6e02a@amutable.com
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
