glibc on ia64 provides no clone() function, but there is a __clone2
function instead. It is documented but no prototype is provided by
glibc.
* tests/ioctl_nsfs.c [IA64] (__clone2): New prototype.
[IA64] (clone): New macro wrapper around __clone2.
return 0;
}
+#ifdef IA64
+extern int __clone2(int (*)(void *), void *, size_t, int, void *, ...);
+# define clone(fn, child_stack, flags, arg) \
+ __clone2(fn, child_stack - 4096, 4096, flags, arg)
+#endif
+
static void
test_user_namespace(void)
{