]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
Document /proc/pid PID reuse behavior
authorDaniel Colascione <dancol@google.com>
Mon, 5 Nov 2018 13:22:05 +0000 (13:22 +0000)
committerJonathan Corbet <corbet@lwn.net>
Tue, 20 Nov 2018 16:50:00 +0000 (09:50 -0700)
commitc969eb830175f42b6cc0c8e80f6fce452fd75788
tree715766ff20b1b93fb88c8e4ca649ab3d415d870d
parent1428cc0e0c36de4f32b3de38ae497394dca6972b
Document /proc/pid PID reuse behavior

State explicitly that holding a /proc/pid file descriptor open does
not reserve the PID. Also note that in the event of PID reuse, these
open file descriptors refer to the old, now-dead process, and not the
new one that happens to be named the same numeric PID.

Signed-off-by: Daniel Colascione <dancol@google.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Reviewed-by: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/filesystems/proc.txt