macro: move MS_* macros

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
Christian Brauner 2018-09-02 07:32:23 +02:00
parent 04a49be674
commit 6e5655e0db
No known key found for this signature in database
GPG Key ID: 8EB056D53EECB12D
2 changed files with 11 additions and 10 deletions

View File

@ -101,6 +101,7 @@
#include "lsm/lsm.h"
#include "lxclock.h"
#include "lxcseccomp.h"
#include "macro.h"
#include "namespace.h"
#include "network.h"
#include "parse.h"
@ -111,14 +112,6 @@
#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.

View 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