X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib_internal%2Fsys_clone.h;h=f30e8a2c3289655e8e1dd6bdbb9b77e467562c1b;hb=be41237a12dad904d92e58373f670113bb730a24;hp=f797ac8c2a323d668b176b8423174d6508dda1ef;hpb=8dd52dc02550d6eb9657e331b1ae610ad6b7b560;p=util-vserver.git diff --git a/lib_internal/sys_clone.h b/lib_internal/sys_clone.h index f797ac8..f30e8a2 100644 --- a/lib_internal/sys_clone.h +++ b/lib_internal/sys_clone.h @@ -23,10 +23,6 @@ #include "lib/syscall-wrap.h" #define __NR__sys_clone __NR_clone -#ifndef CLONE_NEWNS -# define CLONE_NEWNS 0x00020000 -#endif - #ifndef ENSC_SYSCALL_TRADITIONAL # include @@ -46,9 +42,6 @@ int sys_clone(int flags, void *child_stack) #ifdef __sparc__ int parent = getpid(); #endif -#if defined(__dietlibc__) && defined(ENSC_SYSCALL_TRADITIONAL) - extern long int syscall (long int __sysno, ...); -#endif #if defined(__s390__) && defined(ENSC_SYSCALL_TRADITIONAL) ret = syscall(__NR__sys_clone, child_stack, flags);