Commit 23b116e3 by Stéphane Graber

attach: Defined MS_REC and MS_SLAVE if not set

parent e5a5ff00
......@@ -64,6 +64,14 @@
# define SOCK_CLOEXEC 02000000
#endif
#ifndef MS_REC
#define MS_REC 16384
#endif
#ifndef MS_SLAVE
#define MS_SLAVE (1<<19)
#endif
lxc_log_define(lxc_attach, lxc);
static struct lxc_proc_context_info *lxc_proc_get_context_info(pid_t pid)
......
......@@ -44,6 +44,14 @@
#include "namespace.h"
#include "utils.h"
#ifndef MS_REC
#define MS_REC 16384
#endif
#ifndef MS_SLAVE
#define MS_SLAVE (1<<19)
#endif
int unshare(int flags);
static void usage(const char *name)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment