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/missing.h | |
parent | d6cdc4cd4b58cfff4b44e1201e54f05b4a38d2d4 (diff) |
cgroup: detect cgroup namespaces
- define CLONE_NEWCGROUP
- add fun to detect whether cgroup namespaces are supported
Diffstat (limited to 'src/basic/missing.h')
-rw-r--r-- | src/basic/missing.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/basic/missing.h b/src/basic/missing.h index b1272f8799..f8e096605e 100644 --- a/src/basic/missing.h +++ b/src/basic/missing.h @@ -445,6 +445,10 @@ struct btrfs_ioctl_quota_ctl_args { #define CGROUP2_SUPER_MAGIC 0x63677270 #endif +#ifndef CLONE_NEWCGROUP +#define CLONE_NEWCGROUP 0x02000000 +#endif + #ifndef TMPFS_MAGIC #define TMPFS_MAGIC 0x01021994 #endif |