summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2026-10-05 10:09:35 -0500
committerChristian Brauner <brauner@kernel.org>2026-10-12 10:58:21 +0200
commit95d9b7369665a7de15b42bf6924d193ccb952151 (patch)
tree67a61cf3d121eb7d6c243da15c0996f5674d6e77 /tools/lib/python
parent4e2446c83f384fb535379ef4d0f52151e8079d67 (diff)
downloadlinux-next-95d9b7369665a7de15b42bf6924d193ccb952151.tar.gz
linux-next-95d9b7369665a7de15b42bf6924d193ccb952151.zip
net: turn sk_peer_pid into an array indexed by pid type
Currently only the struct pid of the thread-group leader is recorded for a socket's peer. To make room for the struct pid of the thread that called connect(), listen() or socketpair() turn sk_peer_pid into an array indexed by pid type. All users, including bluetooth and the coredump socket, keep using the PIDTYPE_TGID slot. Nothing fills the PIDTYPE_PID slot yet. No functional changes. 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-5-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