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.