Skip to main content

deny_memory_access

Function deny_memory_access 

Source
pub fn deny_memory_access(headless: bool) -> bool
Expand description

Denies other processes of this user access to this process’s memory, unless the process is a dev build, headless, or started with ALLOW_PTRACE_ENV. Never fails the caller: a platform without the control, or a refusal, leaves the process as it was. Returns whether the control was applied.