Function rustix::procfs::proc_self_maps

source ·
pub fn proc_self_maps() -> Result<OwnedFd>
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