Re: [lxc-devel] [PATCH 2/2] Fix for ia64: Use __clone2 for ia64 in lxc/start.c

2013-03-19 Thread Stéphane Graber
On 13-03-18 01:19 PM, Serge Hallyn wrote: > Quoting Dennis Schridde (devuran...@gmx.net): >> 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.

Re: [lxc-devel] [PATCH 2/2] Fix for ia64: Use __clone2 for ia64 in lxc/start.c

2013-03-18 Thread Serge Hallyn
Quoting Dennis Schridde (devuran...@gmx.net): > 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.

[lxc-devel] [PATCH 2/2] Fix for ia64: Use __clone2 for ia64 in lxc/start.c

2013-03-18 Thread Dennis Schridde
--- 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

Re: [lxc-devel] [PATCH 2/2] Fix for ia64: Use __clone2 for ia64 in lxc/start.c

2013-03-18 Thread Dennis Schridde
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

Re: [lxc-devel] [PATCH 2/2] Fix for ia64: Use __clone2 for ia64 in lxc/start.c

2013-03-18 Thread Serge Hallyn
Quoting Dennis Schridde (devuran...@gmx.net): > --- > 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 @@ in

[lxc-devel] [PATCH 2/2] Fix for ia64: Use __clone2 for ia64 in lxc/start.c

2013-03-18 Thread Dennis Schridde
--- 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