From: Daniel Lezcano Date: Tue, 7 Jul 2009 20:53:05 +0000 (+0200) Subject: remove fork_ns code X-Git-Tag: lxc_0_6_3~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb0395643b86e56ecd2a22974b826f08bd33d229;p=thirdparty%2Flxc.git remove fork_ns code This code is no longer used, remove it. Signed-off-by: Daniel Lezcano --- diff --git a/src/lxc/namespace.h b/src/lxc/namespace.h index 884b22293..16cbf08a7 100644 --- a/src/lxc/namespace.h +++ b/src/lxc/namespace.h @@ -49,18 +49,6 @@ # define CLONE_NEWNET 0x40000000 #endif -#if __i386__ || __x86_64__ || __powerpc__ -# define fork_ns(flags) syscall(SYS_clone, flags|SIGCHLD, NULL) -#elif __s390__ -# define fork_ns(flags) syscall(SYS_clone, NULL, flags|SIGCHLD) -#elif __ia64__ -# define fork_ns(flags) syscall(SYS_clone2, flags|SIGCHLD, NULL) -#else -# error "unsupported architecture" -#endif - -#define unshare_ns(flags) unshare(flags) - extern pid_t lxc_clone(int (*fn)(void *), void *arg, int flags); #endif