From 5c131b100a04dc1e2c5e27f047ca04952aeb9cc2 Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Fri, 29 Sep 2006 22:15:14 +0000 Subject: [PATCH] Use the older versions of these syscalls, so the utils will work on older kernels. git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2339 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- lib/syscall_ctxmigrate-v13.hc | 2 +- lib/syscall_setnamespace-v13.hc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/syscall_ctxmigrate-v13.hc b/lib/syscall_ctxmigrate-v13.hc index 34b3073..ddf4fa9 100644 --- a/lib/syscall_ctxmigrate-v13.hc +++ b/lib/syscall_ctxmigrate-v13.hc @@ -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); } diff --git a/lib/syscall_setnamespace-v13.hc b/lib/syscall_setnamespace-v13.hc index ce7d5ad..cda4c1a 100644 --- a/lib/syscall_setnamespace-v13.hc +++ b/lib/syscall_setnamespace-v13.hc @@ -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); } -- 1.8.1.5