secmem_proc::components

Function disable_tracing_prctl

source
pub fn disable_tracing_prctl() -> Result
Expand description

Disable tracing for this process.

  • Type: memory-security, disable-tracing, dont-dump
  • Targets: linux, freebsd, macos
  • API: prctl (stable) / ptrace (stable) (on macOS)

ยงErrors

Returns an error when the system or libc interface returns an error.