]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: remove libsystemd reference to legacy hierarchy 36622/head
authorMike Yuan <me@yhndnzj.com>
Wed, 5 Mar 2025 18:10:02 +0000 (19:10 +0100)
committerMike Yuan <me@yhndnzj.com>
Sun, 16 Mar 2025 17:02:08 +0000 (18:02 +0100)
man/sd_pid_get_owner_uid.xml

index 0855ea7928291337825cb5dabc2dcaa07f5eef18..70e13dc82f018180cf5673fc387c5a0097d3b713 100644 (file)
     returns the user slice (as managed by the user's systemd instance)
     of a process.</para>
 
-    <para><function>sd_pid_get_cgroup()</function> returns the control
-    group path of the specified process, relative to the root of the
-    hierarchy. Returns the path without trailing slash, except for
-    processes located in the root control group, where "/" is
-    returned. To find the actual control group path in the file system,
-    the returned path needs to be prefixed with
-    <filename>/sys/fs/cgroup/</filename> (if the unified control group
-    setup is used), or
-    <filename>/sys/fs/cgroup/<replaceable>HIERARCHY</replaceable>/</filename>
-    (if the legacy multi-hierarchy control group setup is used).</para>
+    <para><function>sd_pid_get_cgroup()</function> returns the control group path of the specified process,
+    relative to the root of the hierarchy. Returns the path without trailing slash, except for processes
+    located in the root control group, where "/" is returned. To find the actual control group path
+    in the file system, the returned path needs to be prefixed with <filename>/sys/fs/cgroup/</filename>.</para>
 
     <para>If the <varname>pid</varname> parameter of any of these
     functions is passed as 0, the operation is executed for the