Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
---
 src/lxc/attach.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/lxc/attach.c b/src/lxc/attach.c
index 950fe9a..3e9fb5f 100644
--- a/src/lxc/attach.c
+++ b/src/lxc/attach.c
@@ -54,6 +54,10 @@
 #include <sys/personality.h>
 #endif
 
+#ifndef SOCK_CLOEXEC
+#  define SOCK_CLOEXEC                02000000
+#endif
+
 lxc_log_define(lxc_attach, lxc);
 
 struct lxc_proc_context_info *lxc_proc_get_context_info(pid_t pid)
-- 
1.8.3.2


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to