summaryrefslogtreecommitdiffstats
path: root/include/pathnames.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 19:33:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 19:33:30 +0000
commitc61e14d3a8412cd50d98aab604e607692c844c8a (patch)
tree4925aca0e6b64c8664ea2f3fdfa99a52dc93d5da /include/pathnames.h
parentAdding upstream version 2.39.3. (diff)
downloadutil-linux-c61e14d3a8412cd50d98aab604e607692c844c8a.tar.xz
util-linux-c61e14d3a8412cd50d98aab604e607692c844c8a.zip
Adding upstream version 2.40.upstream/2.40
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'include/pathnames.h')
-rw-r--r--include/pathnames.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/pathnames.h b/include/pathnames.h
index 56f64c3..81fa405 100644
--- a/include/pathnames.h
+++ b/include/pathnames.h
@@ -108,6 +108,7 @@
#define _PATH_PROC_SETGROUPS "/proc/self/setgroups"
#define _PATH_PROC_FDDIR "/proc/self/fd"
+#define _PATH_PROC_TIMENS_OFF "/proc/self/timens_offsets"
#define _PATH_PROC_ATTR_CURRENT "/proc/self/attr/current"
#define _PATH_PROC_ATTR_EXEC "/proc/self/attr/exec"
@@ -226,5 +227,10 @@
#define _PATH_DEV_RFKILL "/dev/rfkill"
#define _PATH_SYS_RFKILL "/sys/class/rfkill"
+/* cgroup path */
+#define _PATH_SYS_CGROUP "/sys/fs/cgroup"
+
+/* Maximum number of PIDs system supports */
+#define _PATH_PROC_PIDMAX "/proc/sys/kernel/pid_max"
#endif /* PATHNAMES_H */