]>
Commit | Line | Data |
---|---|---|
53e1b683 | 1 | /* SPDX-License-Identifier: LGPL-2.1+ */ |
34829a32 LP |
2 | #pragma once |
3 | ||
34829a32 | 4 | #include <stdbool.h> |
71d35b6b | 5 | #include <sys/types.h> |
34829a32 | 6 | |
5da38d07 TH |
7 | #include "cgroup-util.h" |
8 | ||
de54e02d | 9 | int chown_cgroup(pid_t pid, CGroupUnified unified_requested, uid_t uid_shift); |
f0bef277 | 10 | int sync_cgroup(pid_t pid, CGroupUnified unified_requested, uid_t uid_shift); |
720f0a2f | 11 | int create_subcgroup(pid_t pid, bool keep_unit, CGroupUnified unified_requested); |
04029482 LS |
12 | |
13 | int mount_cgroups(const char *dest, CGroupUnified unified_requested, bool userns, uid_t uid_shift, uid_t uid_range, const char *selinux_apifs_context, bool use_cgns); | |
14 | int mount_systemd_cgroup_writable(const char *dest, CGroupUnified unified_requested); |