about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/i386/sysdep.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2021-05-12 11:02:47 -0700
committerH.J. Lu <hjl.tools@gmail.com>2021-07-19 07:36:19 -0700
commit5adb0e14a5cc9e011e58a7aaf193b598ecbd7b07 (patch)
tree67083b4eab35852ec1495c34b813abe272a8ad26 /sysdeps/unix/sysv/linux/i386/sysdep.h
parentee5ed99922ca90bcea4a2f9a48a0c9ae4b534ece (diff)
downloadglibc-5adb0e14a5cc9e011e58a7aaf193b598ecbd7b07.tar.gz
glibc-5adb0e14a5cc9e011e58a7aaf193b598ecbd7b07.tar.xz
glibc-5adb0e14a5cc9e011e58a7aaf193b598ecbd7b07.zip
i386: Add the clone3 wrapper
extern int clone3 (struct clone_args *__cl_args, size_t __size,
		   int (*__func) (void *__arg), void *__arg);

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386/sysdep.h')
-rw-r--r--sysdeps/unix/sysv/linux/i386/sysdep.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/sysdep.h b/sysdeps/unix/sysv/linux/i386/sysdep.h
index 8680b49bf7..3927a1a6e0 100644
--- a/sysdeps/unix/sysv/linux/i386/sysdep.h
+++ b/sysdeps/unix/sysv/linux/i386/sysdep.h
@@ -291,6 +291,8 @@ struct libc_do_syscall_args
 # define HAVE_TIME_VSYSCALL             "__vdso_time"
 # define HAVE_CLOCK_GETRES_VSYSCALL     "__vdso_clock_getres"
 
+# define HAVE_CLONE3_WAPPER		1
+
 # undef HAVE_INTERNAL_BRK_ADDR_SYMBOL
 # define HAVE_INTERNAL_BRK_ADDR_SYMBOL 1