]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
api: export cgroup_is_systemd_enabled()
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Wed, 6 Dec 2023 15:43:03 +0000 (15:43 +0000)
committerTom Hromatka <tom.hromatka@oracle.com>
Thu, 7 Dec 2023 15:58:13 +0000 (08:58 -0700)
export cgroup_is_systemd_enabled(), the function will helpful developers
to check if the systemd support is enabled.

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
src/libcgroup.map

index b48c71ca988c970b3a5b8ddc4a97b79dd14fc6a1..2e37d76e1185f5870beb954155b07620ec58340e 100644 (file)
@@ -161,4 +161,5 @@ CGROUP_3.0 {
        is_cgroup_mode_legacy;
        is_cgroup_mode_hybrid;
        is_cgroup_mode_unified;
+       cgroup_is_systemd_enabled;
 } CGROUP_2.0;