Function rustix::io::proc_self_maps

source ·
pub fn proc_self_maps() -> Result<OwnedFd>
Available on crate feature procfs only.
Expand description

Returns a handle to a Linux /proc/self/maps file.

This ensures that /proc/self/maps is procfs, that nothing is mounted on top of it, and that it looks normal.

References