From: Kamalesh Babulal Date: Mon, 24 Apr 2023 07:00:51 +0000 (+0000) Subject: api: export cgroup_setup_mode() X-Git-Tag: v3.1.0~91 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=89e191bf676d27d9ab8179185c5008f5b3387c55;p=thirdparty%2Flibcgroup.git api: export cgroup_setup_mode() export cgroup_setup_mode(), the function will be helpful for the developers to take decisions/actions based on the cgroup setup mode the system is booted with. Suggested-by: Tom Hromatka Signed-off-by: Kamalesh Babulal Signed-off-by: Tom Hromatka --- diff --git a/src/libcgroup.map b/src/libcgroup.map index b0f0356a..6e564d38 100644 --- a/src/libcgroup.map +++ b/src/libcgroup.map @@ -157,4 +157,5 @@ CGROUP_3.0 { cgroup_create_scope2; cgroup_set_default_systemd_cgroup; cgroup_write_systemd_default_cgroup; + cgroup_setup_mode; } CGROUP_2.0;