---
src/lxc/namespace.h | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/lxc/namespace.h b/src/lxc/namespace.h
index e35de60..1c33b55 100644
--- a/src/lxc/namespace.h
+++ b/src/lxc/namespace.h
@@ -49,7 +49,11 @@
#ifndef CLONE_NEWNET
# define CLONE_NEWNET0
---
src/lxc/start.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/lxc/start.c b/src/lxc/start.c
index 3fdfa04..a95708a 100644
--- a/src/lxc/start.c
+++ b/src/lxc/start.c
@@ -564,7 +564,7 @@ static int must_drop_cap_sys_boot(void)
FILE *f = fopen("/proc/sys/k
Am Montag, 18. März 2013, 11:28:02 schrieb Serge Hallyn:
> #ifdef __ia64__
> stack += stack_size
> #endif
>
> so that the clone call below stays just the slightest bit easier on
> the eyes.
src/lxc/namespace.c does it the same way. Maybe you want to change that, too.
--Dennis
signature.asc
declared wherever it is used - there is no header
containing it. (cf. [1])
Kind regards,
Dennis Schridde
[1] https://bugs.gentoo.org/show_bug.cgi?id=436782
signature.asc
Description: This is a digitally signed message part
---
src/lxc/start.c | 13 +++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/src/lxc/start.c b/src/lxc/start.c
index 3fdfa04..106c8e8 100644
--- a/src/lxc/start.c
+++ b/src/lxc/start.c
@@ -135,6 +135,11 @@ int signalfd(int fd, const sigset_t *mask, int flags)
#include "l
---
src/lxc/namespace.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/src/lxc/namespace.c b/src/lxc/namespace.c
index d10efdc..9f20608 100644
--- a/src/lxc/namespace.c
+++ b/src/lxc/namespace.c
@@ -33,6 +33,11 @@
#include "namespace.h"
#include "log.h"
+#ifdef __ia64__
+extern int _
sched.h is included via namespace.h - please forget about my patch.
signature.asc
Description: This is a digitally signed message part.
--
Got visibility?
Most devs has no idea what their production app looks like.
Find ou
Hello!
Attached patch includes the sched.h header in src/lxc/namespace.c, because
that is where clone(2) says this function is declared and it seems fragile to
rely on indirect inclusion of that header.
Best regards,
Dennis--- lxc-0.8.0-rc2/src/lxc/namespace.c.orig 2012-10-01 14:41:46.0