Skip to main content

classify_pam_hook

Function classify_pam_hook 

Source
pub fn classify_pam_hook(path: &str) -> bool
Expand description

Classify whether a PAM library path is suspicious.

Returns true when the path contains “pam” (case-insensitive) and does not start with a known system library directory.