summaryrefslogtreecommitdiffstats
path: root/src/shared/cgroup-setup.h
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2024-02-25 02:03:16 +0100
committerMike Yuan <me@yhndnzj.com>2024-02-27 16:08:59 +0100
commitf4f3efa4d7076a943598cce85f9b108427c65f87 (patch)
tree91b771856401fe0b9364053754e2c9c2657bfa20 /src/shared/cgroup-setup.h
parentshared/mount-setup: split out mount_cgroup_legacy_controllers (diff)
downloadsystemd-f4f3efa4d7076a943598cce85f9b108427c65f87.tar.xz
systemd-f4f3efa4d7076a943598cce85f9b108427c65f87.zip
shared/cgroup-setup: introduce cg_is_legacy_force_enabled
Diffstat (limited to '')
-rw-r--r--src/shared/cgroup-setup.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/cgroup-setup.h b/src/shared/cgroup-setup.h
index 1b6f0716c6..c35884ee4d 100644
--- a/src/shared/cgroup-setup.h
+++ b/src/shared/cgroup-setup.h
@@ -10,6 +10,7 @@
bool cg_is_unified_wanted(void);
bool cg_is_legacy_wanted(void);
bool cg_is_hybrid_wanted(void);
+bool cg_is_legacy_force_enabled(void);
int cg_weight_parse(const char *s, uint64_t *ret);
int cg_cpu_weight_parse(const char *s, uint64_t *ret);