DEFAULT_HOST_CGROUP_PARENT

Constant DEFAULT_HOST_CGROUP_PARENT 

Source
pub const DEFAULT_HOST_CGROUP_PARENT: &str = "/sys/fs/cgroup/ktstr";
Expand description

Default cgroup parent path for host_only tests when KTSTR_HOST_CGROUP_PARENT is unset. Suitable for both root (writable directly) and non-root (operator pre-creates /sys/fs/cgroup/ktstr with appropriate ownership, OR overrides via KTSTR_HOST_CGROUP_PARENT to point at a path inside a delegated subtree) invocations. See resolve_host_cgroup_parent for the env-override path and build_host_cgroup_manager for the cgroup-v2 Mode B/C delegation wire-up.

pub so tests can pin against it instead of mirroring the literal in their own assertion strings (the resolve_host_cgroup_parent_* unit tests in dispatch_tests.rs assert unset/empty env falls back to this const). Treat as the canonical default — operators set KTSTR_HOST_CGROUP_PARENT to override.