Module components

Module components 

Source
Expand description

Module containing hardening and anti-tracing components, which can be combined into an appropriate hardening routine.

The available components in this module are target/arch specific.

You probably want to use the higher level platform independent configuration API in crate::config instead; or the crate::harden_process function which uses default configuration.

Functionsยง

check_tracer_procfs
Check whether a tracer is attached via the procfs virtual filesystem.
disable_core_dumps_rlimit
Disable core dumps for this process.
disable_tracing_prctl
Disable tracing for this process.