diff options
author | Christian Brauner <cbrauner@suse.de> | 2016-06-23 11:52:45 +0200 |
---|---|---|
committer | Christian Brauner <cbrauner@suse.de> | 2016-07-09 05:49:04 +0200 |
commit | 3228995c534c4cae609e97502f7c7ca1d4a14840 (patch) | |
tree | 4fdcc4a53bacbb79234f923d634d865e8d229713 /src/basic/cgroup-util.h | |
parent | d6cdc4cd4b58cfff4b44e1201e54f05b4a38d2d4 (diff) | |
download | systemd-3228995c534c4cae609e97502f7c7ca1d4a14840.tar.gz |
cgroup: detect cgroup namespaces
- define CLONE_NEWCGROUP
- add fun to detect whether cgroup namespaces are supported
Diffstat (limited to 'src/basic/cgroup-util.h')
-rw-r--r-- | src/basic/cgroup-util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/cgroup-util.h b/src/basic/cgroup-util.h index 4bb5291296..5c1c474112 100644 --- a/src/basic/cgroup-util.h +++ b/src/basic/cgroup-util.h @@ -214,6 +214,8 @@ int cg_mask_supported(CGroupMask *ret); int cg_kernel_controllers(Set *controllers); +bool cg_ns_supported(void); + int cg_unified(void); void cg_unified_flush(void); |