2
0
mirror of git://github.com/lxc/lxc synced 2025-08-30 18:19:35 +00:00

remove fork_ns code

This code is no longer used, remove it.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
This commit is contained in:
Daniel Lezcano
2009-07-07 22:53:05 +02:00
committed by Daniel Lezcano
parent 50e98013d5
commit cb0395643b

View File

@@ -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