aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/mips/sysdep.h
diff options
context:
space:
mode:
authorAdhemerval Zanella Netto <adhemerval.zanella@linaro.org>2023-08-24 13:42:15 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-09-05 10:15:48 -0300
commite7d1c5866448bf3c56a61def84021e6fc19f57e7 (patch)
tree0a6219fe34367b1ed3bcb6a2f27c4296278d57c0 /sysdeps/unix/sysv/linux/mips/sysdep.h
parentb56f7fe79e66387fd66009ab335ec61cab71d2ed (diff)
downloadglibc-e7d1c5866448bf3c56a61def84021e6fc19f57e7.tar
glibc-e7d1c5866448bf3c56a61def84021e6fc19f57e7.tar.gz
glibc-e7d1c5866448bf3c56a61def84021e6fc19f57e7.tar.bz2
glibc-e7d1c5866448bf3c56a61def84021e6fc19f57e7.zip
mips: Add the clone3 wrapper
It follows the internal signature: extern int clone3 (struct clone_args *__cl_args, size_t __size, int (*__func) (void *__arg), void *__arg); Checked on mips64el-linux-gnueabihf, mips64el-n32-linux-gnu, and mipsel-linux-gnu.
Diffstat (limited to 'sysdeps/unix/sysv/linux/mips/sysdep.h')
-rw-r--r--sysdeps/unix/sysv/linux/mips/sysdep.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/sysdep.h b/sysdeps/unix/sysv/linux/mips/sysdep.h
index ff84a91b31..673aa08b57 100644
--- a/sysdeps/unix/sysv/linux/mips/sysdep.h
+++ b/sysdeps/unix/sysv/linux/mips/sysdep.h
@@ -28,3 +28,5 @@
#endif
#define HAVE_GETTIMEOFDAY_VSYSCALL "__vdso_gettimeofday"
#define HAVE_CLOCK_GETRES_VSYSCALL "__vdso_clock_getres"
+
+#define HAVE_CLONE3_WRAPPER 1