Skip to main content

cgroup_scope_available

Function cgroup_scope_available 

Source
pub fn cgroup_scope_available(program: &OsStr) -> bool
Expand description

cgroupScopeAvailable: whether program (systemd-run) can start a transient user scope with a memory cap here. Probed once per program by starting a tiny scope and reading back its memory.max, which checks the launcher, the user manager and memory-controller delegation together.