Skip to main content

check_tracer_procfs

Function check_tracer_procfs 

Source
pub fn check_tracer_procfs() -> Result
Expand description

Check whether a tracer is attached via the procfs virtual filesystem.

  • Type: anti-tracing
  • Targets: linux
  • API: procfs (stable)

§Errors

Returns an error when the required procfs file /proc/self/status could not be opened, or if it doesn’t contain a valid TracerPid entry. Returns BeingTraced when the process is being traced.