Function rustix::mm::munlockall

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