mirror of
https://github.com/torvalds/linux.git
synced 2026-11-20 13:03:48 +00:00
We're about to extend af_unix sockets and coredump code with the ability to hand out thread-specific pidfds. Add a few simple helpers that allow to operate on multiple struct pids up to PIDTYPE_MAX with automatic bounds checking. Reviewed-by: Alexander Mikhalitsyn <[email protected]> Reviewed-by: Kuniyuki Iwashima <[email protected]> Signed-off-by: Andrew Halaney <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Christian Brauner (Amutable) <[email protected]>