Skip to main content

classify_systemd_unit

Function classify_systemd_unit 

Source
pub fn classify_systemd_unit(unit_name: &str, exec_start: &str) -> bool
Expand description

Classify whether a systemd unit is suspicious.

Returns false for known-safe unit names and safe ExecStart prefixes.