Use the older versions of these syscalls, so the utils will work on older kernels.
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Fri, 29 Sep 2006 22:15:14 +0000 (22:15 +0000)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Fri, 29 Sep 2006 22:15:14 +0000 (22:15 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2339 94cd875c-1c1d-0410-91d2-eb244daf1a30

lib/syscall_ctxmigrate-v13.hc
lib/syscall_setnamespace-v13.hc

index 34b3073..ddf4fa9 100644 (file)
@@ -23,5 +23,5 @@
 static inline ALWAYSINLINE int
 vc_ctx_migrate_v13(xid_t xid)
 {
-  return vserver(VCMD_ctx_migrate, CTX_USER2KERNEL(xid), NULL);
+  return vserver(VCMD_ctx_migrate_v0, CTX_USER2KERNEL(xid), NULL);
 }
index ce7d5ad..cda4c1a 100644 (file)
@@ -25,5 +25,5 @@
 static inline ALWAYSINLINE int
 vc_set_namespace_v13(int UNUSED tmp)
 {
-  return vserver(VCMD_set_namespace, -1, 0);
+  return vserver(VCMD_set_namespace_v0, -1, 0);
 }