From: Daniel Hokka Zakrisson Date: Fri, 29 Sep 2006 22:15:14 +0000 (+0000) Subject: Use the older versions of these syscalls, so the utils will work on older kernels. X-Git-Tag: release-0.30.211~16 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c131b100a04dc1e2c5e27f047ca04952aeb9cc2;p=util-vserver.git 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 --- 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); }