Module process

Source
Expand description

Code to adjust process-related parameters.

Functions§

enable_process_hardening
Enable process hardening, to make it harder for low-privilege users to extract information from Arti.
exit_if_root 🔒
Check that we are not running as “root”.
running_as_root 🔒
Return true if we seem to be running as root.
sighup_stream 🔒 target_family="unix"
Return an async stream that reports an event whenever we get a SIGHUP signal.
use_max_file_limit
Set our current maximum-file limit to a large value, if we can.