vserver.h defines CLONE_NEW*.
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Sat, 9 Dec 2006 16:12:18 +0000 (16:12 +0000)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Sat, 9 Dec 2006 16:12:18 +0000 (16:12 +0000)
Remove unused include of sys_clone.h from vdlimit.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2421 94cd875c-1c1d-0410-91d2-eb244daf1a30

lib_internal/sys_clone.h
src/rpm-fake.c
src/vdlimit.c

index f797ac8..d44269b 100644 (file)
 #include "lib/syscall-wrap.h"
 #define __NR__sys_clone                __NR_clone
 
-#ifndef CLONE_NEWNS
-#  define CLONE_NEWNS 0x00020000
-#endif
-
 #ifndef ENSC_SYSCALL_TRADITIONAL
 #  include <errno.h>
 
index 2c13106..380bf07 100644 (file)
@@ -66,10 +66,6 @@ int rpm_execcon(unsigned int verified,
 #undef _POSIX_SOURCE
 #include "capability-compat.h"
 
-#ifndef CLONE_NEWNS
-#  define CLONE_NEWNS  0x00020000
-#endif
-
 #define LIBNAME                "rpm-fake.so"
 #define PLATFORM_FILE  "/etc/rpm/platform"
 
index db8bd88..d258ec0 100644 (file)
@@ -21,7 +21,6 @@
 #endif
 
 #include "util.h"
-#include <lib_internal/sys_clone.h>
 #include <lib/internal.h>
 
 #include <vserver.h>