pub fn deny_memory_access(headless: bool) -> boolExpand 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.