aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2025-05-06 13:55:54 +0200
committerChristian Brauner <brauner@kernel.org>2025-05-06 13:59:00 +0200
commitdb56723ceaec87aa5cf871e623f464934b266228 (patch)
tree8c15161edd419fa819fc7ab9eea44823dbdaf187 /net/unix/af_unix.c
parentMerge patch series "coredump: hand a pidfd to the usermode coredump helper" (diff)
downloadwireguard-linux-db56723ceaec87aa5cf871e623f464934b266228.tar.xz
wireguard-linux-db56723ceaec87aa5cf871e623f464934b266228.zip
pidfs: detect refcount bugs
Now that we have pidfs_{get,register}_pid() that needs to be paired with pidfs_put_pid() it's possible that someone pairs them with put_pid(). Thus freeing struct pid while it's still used by pidfs. Notice when that happens. I'll also add a scheme to detect invalid uses of pidfs_get_pid() and pidfs_put_pid() later. Link: https://lore.kernel.org/20250506-uferbereich-guttun-7c8b1a0a431f@brauner Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions