From cb0395643b86e56ecd2a22974b826f08bd33d229 Mon Sep 17 00:00:00 2001 From: Daniel Lezcano Date: Tue, 7 Jul 2009 22:53:05 +0200 Subject: [PATCH] remove fork_ns code This code is no longer used, remove it. Signed-off-by: Daniel Lezcano --- src/lxc/namespace.h | 12 ------------ 1 file changed, 12 deletions(-) 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 -- 2.47.2