pub fn munlockall() -> Result<()>
Available on crate feature
mm
only.Expand description
Unlocks all pages mapped into the address space of the calling process.
§Warning
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.