Skip to main content

birth_identity

Function birth_identity 

Source
pub fn birth_identity(pidfd: &OwnedFd) -> Option<u64>
Expand description

A process’s birth identity: the inode number of a pidfd for it, when that is a pidfs inode (Linux 6.9 and later), which is one per process and never reused while the kernel runs. Before pidfs every pidfd shares one anonymous inode, which names no process, so there is none. Every pidfd for the same process has the same inode, however it was obtained (pidfd_open, SO_PEERPIDFD, CLONE_PIDFD).