X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fsyscall_enternamespace-v13.hc;h=b4d14f9b6638f1cb7f8bb8802d92abbe5a9a5587;hb=2822ba293eb308225c50d346930c47bf98d9927b;hp=84042d386f977fe182c56dc86860e6169f0763cc;hpb=2894fc5a4c8335e4d7221311fed0556f33f8047c;p=util-vserver.git diff --git a/lib/syscall_enternamespace-v13.hc b/lib/syscall_enternamespace-v13.hc index 84042d3..b4d14f9 100644 --- a/lib/syscall_enternamespace-v13.hc +++ b/lib/syscall_enternamespace-v13.hc @@ -1,4 +1,4 @@ -// $Id: syscall_enternamespace-v13.hc 2415 2006-12-08 13:24:49Z dhozac $ --*- c -*-- +// $Id: syscall_enternamespace-v13.hc,v 1.1 2004/02/20 17:58:43 ensc Exp $ --*- c -*-- // Copyright (C) 2004 Enrico Scholz // @@ -23,9 +23,7 @@ #include "vserver.h" static inline ALWAYSINLINE int -vc_enter_namespace_v13(xid_t xid, uint_least64_t mask) +vc_enter_namespace_v13(xid_t xid) { - if ((mask & (CLONE_NEWNS|CLONE_FS)) == 0) - return 0; - return vserver(VCMD_enter_space_v0, CTX_USER2KERNEL(xid), 0); + return vserver(VCMD_enter_namespace, CTX_USER2KERNEL(xid), 0); }