rustix::procfsFunction proc_self_status
source pub fn proc_self_status() -> Result<OwnedFd>
Expand description
Returns a handle to a Linux /proc/self/status
file.
This ensures that /proc/self/status
is procfs
, that nothing is
mounted on top of it, and that it looks normal.
ยงReferences