s!ctx_t!xid_t!
[util-vserver.git] / util-vserver / lib / syscall-compat.hc
index af68b86..fb07d4d 100644 (file)
 #include <unistd.h>
 
 static inline ALWAYSINLINE int
-vc_new_s_context_compat(ctx_t ctx, unsigned int remove_cap, unsigned int flags)
+vc_new_s_context_compat(xid_t ctx, unsigned int remove_cap, unsigned int flags)
 {
   struct vcmd_new_s_context_v1 msg;
   msg.remove_cap = remove_cap;
   msg.flags      = flags;
 
-  return sys_vserver(VC_CMD(COMPAT, 1, 1), CTX_USER2KERNEL(ctx), &msg);
+  return vserver(VC_CMD(COMPAT, 1, 1), CTX_USER2KERNEL(ctx), &msg);
 }
 
 static inline ALWAYSINLINE int
@@ -56,7 +56,7 @@ vc_set_ipv4root_compat(uint32_t  bcast, size_t nb, struct vc_ip_mask_pair const
     msg.ip_mask_pair[i].mask = ips[i].mask;
   }
 
-  return sys_vserver(VC_CMD(COMPAT, 2, 3), nb, &msg);
+  return vserver(VC_CMD(COMPAT, 2, 3), nb, &msg);
 }
 
 static inline ALWAYSINLINE int