]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
macro: move MS_* macros 2581/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Sun, 2 Sep 2018 05:32:23 +0000 (07:32 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sun, 2 Sep 2018 05:32:23 +0000 (07:32 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/conf.c
src/lxc/macro.h

index 636748a50742709588c8d0020277ab81f4b9c59c..52fc49c9182b4e15ca91ee2edc4835f07274a9d6 100644 (file)
 #include "lsm/lsm.h"
 #include "lxclock.h"
 #include "lxcseccomp.h"
+#include "macro.h"
 #include "namespace.h"
 #include "network.h"
 #include "parse.h"
 #include "terminal.h"
 #include "utils.h"
 
-#ifndef MS_PRIVATE
-#define MS_PRIVATE (1<<18)
-#endif
-
-#ifndef MS_LAZYTIME
-#define MS_LAZYTIME (1<<25)
-#endif
-
 lxc_log_define(conf, lxc);
 
 /* The lxc_conf of the container currently being worked on in an API call.
index 8c8c91a6e52fcadee34c3ead1427dee10d7a0aed..d44e2f9b1cc19b5b07c44d10f166e67eac67e2b5 100644 (file)
@@ -303,14 +303,22 @@ extern int __build_bug_on_failed;
 #define LXC_AUDS_ADDR_LEN sizeof(((struct sockaddr_un *)0)->sun_path)
 
 /* mount */
-#ifndef MS_REC
-#define MS_REC 16384
+#ifndef MS_PRIVATE
+#define MS_PRIVATE (1<<18)
 #endif
 
 #ifndef MS_SLAVE
 #define MS_SLAVE (1 << 19)
 #endif
 
+#ifndef MS_LAZYTIME
+#define MS_LAZYTIME (1<<25)
+#endif
+
+#ifndef MS_REC
+#define MS_REC 16384
+#endif
+
 /* open */
 #ifndef O_PATH
 #define O_PATH      010000000