Skip to main content

enable_process_hardening

Function enable_process_hardening 

Source
pub fn enable_process_hardening() -> Result<()>
Expand description

Enable process hardening, to make it harder for low-privilege users to extract information from Arti.

This function only has effect the first time it is called. If it returns an error, the caller should probably exit the process.

ยงLimitations

See notes from the secmem_proc crate: this is a best-effort defense, and only makes these attacks harder. It can interfere with debugging.