linux/net/bluetooth
Christian Brauner 95d9b73696
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>
2026-10-12 10:58:21 +02:00
..
bnep Bluetooth: bnep: fix out-of-bounds reads on short RX/TX frames and control fallthrough 2026-09-21 09:37:19 -04:00
hidp Bluetooth: fix BT dependency for submodules 2026-08-07 15:38:30 -04:00
rfcomm Bluetooth: RFCOMM: Fix NULL tty_dev dereference in rfcomm_dev_shutdown 2026-10-02 11:25:53 -04:00
6lowpan.c Bluetooth: add annotations for l2cap_data locking context 2026-08-07 15:38:32 -04:00
af_bluetooth.c net: turn sk_peer_pid into an array indexed by pid type 2026-10-12 10:58:21 +02:00
aosp.c Bluetooth: aosp: Fix typo in comment 2025-07-23 10:30:18 -04:00
aosp.h Bluetooth: aosp: Support AOSP Bluetooth Quality Report 2021-11-02 19:37:52 +01:00
coredump.c Bluetooth: coredump: Quiesce dump work on unregister 2026-09-15 14:49:41 -04:00
ecdh_helper.c Bluetooth: Add SPDX id lines to some source files 2026-06-11 14:24:41 -04:00
ecdh_helper.h Bluetooth: Add SPDX id lines to some source files 2026-06-11 14:24:41 -04:00
eir.c Bluetooth: eir: validate service data length before reading UUID 2026-09-15 14:30:14 -04:00
eir.h Bluetooth: eir: Fix possible crashes on eir_create_adv_data 2025-06-11 16:29:22 -04:00
hci_codec.c Bluetooth: hci_codec: validate vendor codec count length 2026-09-15 14:52:12 -04:00
hci_codec.h Bluetooth: Add support for Read Local Supported Codecs V2 2021-09-07 14:09:18 -07:00
hci_conn.c Bluetooth: hci_conn: Lock parent access during enhanced SCO setup 2026-09-28 11:00:20 -04:00
hci_core.c Bluetooth: hci_sync: Fix command skb lifetime during scan setup 2026-10-05 13:10:46 -04:00
hci_debugfs.c Bluetooth: hci_core: Fix inquiry cache timestamps on 64-bit systems 2026-09-23 09:30:21 -04:00
hci_debugfs.h Bluetooth: Add SPDX id lines to some source files 2026-06-11 14:24:41 -04:00
hci_drv.c Bluetooth: Introduce HCI Driver protocol 2025-05-21 10:28:07 -04:00
hci_event.c Bluetooth: hci_event: clear HCI_LE_ADV only on a created connection 2026-08-24 13:11:42 -04:00
hci_sock.c net: turn sk_peer_pid into an array indexed by pid type 2026-10-12 10:58:21 +02:00
hci_sync.c Bluetooth: hci_sync: Fix command skb lifetime during scan setup 2026-10-05 13:10:46 -04:00
hci_sysfs.c Bluetooth: hci_sysfs: Fix NULL pointer dereference in device_del() 2026-09-08 17:12:45 -04:00
iso.c Bluetooth: ISO: Serialize concurrent connect calls 2026-10-05 13:10:47 -04:00
Kconfig Bluetooth: fix BT dependency for submodules 2026-08-07 15:38:30 -04:00
l2cap_core.c Bluetooth: L2CAP: validate frame length before control and FCS access 2026-09-16 13:51:34 -04:00
l2cap_sock.c net: turn sk_peer_pid into an array indexed by pid type 2026-10-12 10:58:21 +02:00
leds.c Bluetooth: Use led_set_brightness() in LED trigger activate() callback 2024-09-10 13:06:11 -04:00
leds.h
lib.c Bluetooth: Add SPDX id lines to some source files 2026-06-11 14:24:41 -04:00
Makefile Bluetooth: enable context analysis 2026-08-07 12:27:20 -04:00
mgmt_config.c Bluetooth: mgmt: Add idle_timeout to configurable system parameters 2026-01-29 13:24:22 -05:00
mgmt_config.h Bluetooth: mgmt: Add commands for runtime configuration 2020-06-18 13:11:03 +03:00
mgmt_util.c Bluetooth: Add SPDX id lines to some source files 2026-06-11 14:24:41 -04:00
mgmt_util.h Bluetooth: Add SPDX id lines to some source files 2026-06-11 14:24:41 -04:00
mgmt.c Bluetooth: MGMT: Fix status of pending commands flushed on power off 2026-09-29 11:20:25 -04:00
msft.c Bluetooth: hci_core: Fix race condition during device registration 2026-08-31 13:52:54 -04:00
msft.h Bluetooth: msft: fix slab-use-after-free in msft_do_close() 2024-05-03 13:05:28 -04:00
sco.c Bluetooth: SCO: serialise sco_conn lifetime against sco_recv_scodata() 2026-09-28 13:03:49 -04:00
selftest.c Bluetooth: Add SPDX id lines to some source files 2026-06-11 14:24:41 -04:00
selftest.h Bluetooth: Add SPDX id lines to some source files 2026-06-11 14:24:41 -04:00
smp.c Bluetooth: Serialize SMP remote OOB data access 2026-09-28 11:00:20 -04:00
smp.h Bluetooth: add annotations for l2cap_data locking context 2026-08-07 15:38:32 -04:00