X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=util-vserver%2Flib%2Fsyscall.c;h=48080eccf493ecaef6fa1ab6523cd8808168ed77;hb=b3ff38bc5349de0f78d90bd461605876dd3f93da;hp=52134c8f9f6088a21b4b2bda9839f5682008cae0;hpb=4c0037aecd96cf23da727c12381723ab5cbfa5e4;p=util-vserver.git diff --git a/util-vserver/lib/syscall.c b/util-vserver/lib/syscall.c index 52134c8..48080ec 100644 --- a/util-vserver/lib/syscall.c +++ b/util-vserver/lib/syscall.c @@ -19,16 +19,19 @@ #ifdef HAVE_CONFIG_H # include #endif -#include "compat.h" #include "compat.h" #include "vserver.h" -#include "vserver-internal.h" #include "internal.h" #define _LINUX_TYPES_H 1 #include "linuxvirtual.h" +#if defined(VC_ENABLE_API_COMPAT) && defined(VC_ENABLE_API_LEGACY) +# define VC_MULTIVERSION_SYSCALL 1 +#endif +#include "vserver-internal.h" + #ifdef VC_ENABLE_API_COMPAT # include "syscall-compat.hc" #endif @@ -40,9 +43,10 @@ #include #include + #if defined(VC_ENABLE_API_COMPAT) || defined(VC_ENABLE_API_LEGACY) -int +xid_t vc_new_s_context(xid_t ctx, unsigned int remove_cap, unsigned int flags) { CALL_VC(CALL_VC_COMPAT(vc_new_s_context, ctx, remove_cap, flags),