git://git.onelab.eu
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge 0.30.214.
[util-vserver.git]
/
lib
/
syscall_ctxcreate.c
diff --git
a/lib/syscall_ctxcreate.c
b/lib/syscall_ctxcreate.c
index
850e1cb
..
77fad68
100644
(file)
--- a/
lib/syscall_ctxcreate.c
+++ b/
lib/syscall_ctxcreate.c
@@
-1,4
+1,4
@@
-// $Id: syscall_ctxcreate.c 2
207 2005-10-29 10:31:42Z ens
c $ --*- c -*--
+// $Id: syscall_ctxcreate.c 2
578 2007-08-08 20:05:26Z dhoza
c $ --*- c -*--
// Copyright (C) 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
//
// Copyright (C) 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
//
@@
-21,17
+21,26
@@
#endif
#include "vserver.h"
#endif
#include "vserver.h"
-#include "vserver-internal.h"
#include "virtual.h"
#include "virtual.h"
+#if defined(VC_ENABLE_API_V13) && defined(VC_ENABLE_API_V21)
+# define VC_MULTIVERSION_SYSCALL 1
+#endif
+#include "vserver-internal.h"
+
#if defined(VC_ENABLE_API_V13)
# include "syscall_ctxcreate-v13.hc"
#endif
#if defined(VC_ENABLE_API_V13)
# include "syscall_ctxcreate-v13.hc"
#endif
-#if defined(VC_ENABLE_API_V13)
+#if defined(VC_ENABLE_API_V21)
+# include "syscall_ctxcreate-v21.hc"
+#endif
+
+#if defined(VC_ENABLE_API_V13) || defined(VC_ENABLE_API_V21)
xid_t
xid_t
-vc_ctx_create(xid_t xid)
+vc_ctx_create(xid_t xid
, struct vc_ctx_flags *flags
)
{
{
- CALL_VC(CALL_VC_V13A(vc_ctx_create, xid));
+ CALL_VC(CALL_VC_V21 (vc_ctx_create, xid, flags),
+ CALL_VC_V13A(vc_ctx_create, xid, flags));
}
#endif
}
#endif