Skip to main content

landlock_supported

Function landlock_supported 

Source
pub fn landlock_supported() -> bool
Expand description

Probe whether the running kernel enforces Landlock (ABI >= 1, Linux 5.13+).

Cached per process: SandboxType::is_available consults this on every transform, and the launcher re-checks before applying restrictions.