Skip to main content

disable_mlock

Function disable_mlock 

Source
pub fn disable_mlock()
Expand description

Globally disable memory locking for the process.

When disabled, secret keys will not be locked in memory (mlock), which means they may be paged to disk. This is useful in container environments where mlock may not be available.