From 08395f86e16ba1ea1e92d145d46bc75a932fcfce Mon Sep 17 00:00:00 2001 From: Mike Yuan Date: Wed, 5 Mar 2025 19:10:02 +0100 Subject: [PATCH] man: remove libsystemd reference to legacy hierarchy --- man/sd_pid_get_owner_uid.xml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) 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 -- 2.47.3