From: Mike Yuan Date: Wed, 5 Mar 2025 18:10:02 +0000 (+0100) Subject: man: remove libsystemd reference to legacy hierarchy X-Git-Tag: v258-rc1~1071^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=08395f86e16ba1ea1e92d145d46bc75a932fcfce;p=thirdparty%2Fsystemd.git man: remove libsystemd reference to legacy hierarchy --- diff --git a/man/sd_pid_get_owner_uid.xml b/man/sd_pid_get_owner_uid.xml index 0855ea79282..70e13dc82f0 100644 --- a/man/sd_pid_get_owner_uid.xml +++ b/man/sd_pid_get_owner_uid.xml @@ -263,16 +263,10 @@ returns the user slice (as managed by the user's systemd instance) of a process. - sd_pid_get_cgroup() 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 - /sys/fs/cgroup/ (if the unified control group - setup is used), or - /sys/fs/cgroup/HIERARCHY/ - (if the legacy multi-hierarchy control group setup is used). + sd_pid_get_cgroup() 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 /sys/fs/cgroup/. If the pid parameter of any of these functions is passed as 0, the operation is executed for the