mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-26 22:11:46 +00:00
macro: move MS_* macros
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
04a49be674
commit
6e5655e0db
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user