#include "vserver.h"
static inline ALWAYSINLINE int
-vc_set_namespace_v13(int UNUSED tmp)
+vc_set_namespace_v13(xid_t xid, uint_least64_t mask)
{
- return vserver(VCMD_set_namespace, 0, 0);
+ if ((mask & (CLONE_NEWNS|CLONE_FS)) == 0)
+ return 0;
+ return vserver(VCMD_set_space_v0, CTX_USER2KERNEL(xid), 0);
}