Skip to main content

SYSTEMD_HARDENING

Constant SYSTEMD_HARDENING 

Source
pub const SYSTEMD_HARDENING: [&str; 13];
Expand description

The hardening directives every unit carries, in the order they are rendered.

A constant rather than a sequence of push_str calls so that review_least_privilege can be written against the same list the renderer emits: a directive dropped from the unit is a directive the review then reports as missing, rather than one that silently stops being checked.