devela::_dep::rustix::mm

Function munlockall

pub fn munlockall() -> Result<(), Errno> 
Available on crate feature dep_rustix only.
Expand description

Unlocks all pages mapped into the address space of the calling process.

§Warnings

This function is aware of all the memory pages in the process, as if it were a debugger. It unlocks all the pages, which could potentially compromise security assumptions made by code about memory it has encapsulated.

§References