diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-08-19 19:00:25 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-08-19 19:58:01 -0400 |
commit | 2056ec192742d45aa72a851dbd22ad1fe0bc91a2 (patch) | |
tree | 5f134b9c2d466b1726771df416f812d49ad1e60d /src/nspawn/nspawn-cgroup.h | |
parent | e6c9fa74a5b1dc1c29797cab43a078b512438885 (diff) | |
parent | 5da38d0768bf53f611ccdd47d7d941e1c560e44e (diff) |
Merge pull request #3965 from htejun/systemd-controller-on-unified
Diffstat (limited to 'src/nspawn/nspawn-cgroup.h')
-rw-r--r-- | src/nspawn/nspawn-cgroup.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nspawn/nspawn-cgroup.h b/src/nspawn/nspawn-cgroup.h index 1ff35a299a..dc33da8abe 100644 --- a/src/nspawn/nspawn-cgroup.h +++ b/src/nspawn/nspawn-cgroup.h @@ -22,6 +22,8 @@ #include <stdbool.h> #include <sys/types.h> +#include "cgroup-util.h" + int chown_cgroup(pid_t pid, uid_t uid_shift); -int sync_cgroup(pid_t pid, bool unified_requested); -int create_subcgroup(pid_t pid, bool unified_requested); +int sync_cgroup(pid_t pid, CGroupUnified unified_requested); +int create_subcgroup(pid_t pid, CGroupUnified unified_requested); |