Function rustix::procfs::proc_self_pagemap
source · pub fn proc_self_pagemap() -> Result<OwnedFd>
Expand description
Returns a handle to a Linux /proc/self/pagemap
file.
This ensures that /proc/self/pagemap
is procfs
, that nothing is
mounted on top of it, and that it looks normal.