Module process

Source
Expand description

Code to adjust process-related parameters.

Functions§

enable_process_hardeningharden
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.