glibc/sysdeps/unix
Adhemerval Zanella Netto 16e424a325 powerpc64: 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);

The powerpc64 ABI requires an initial stackframe so the child can
store/restore the TOC.  It is create prior calling clone3 by
adjusting the stack size (since kernel will compute the stack as
stack plus size).

Checked on powerpc64-linux-gnu (power8, kernel 6.0) and
powerpc64le-linux-gnu (power9, kernel 4.18).
Reviewed-by: Paul E. Murphy <murphyp@linux.ibm.com>
2023-02-09 07:49:25 -03:00
..
alpha Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
arm Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
bsd Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
i386 Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
inet Remove obsolete, never-implemented XSI STREAMS declarations 2019-03-14 15:44:15 +01:00
mips Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
powerpc Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sh Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sysv/linux powerpc64: Add the clone3 wrapper 2023-02-09 07:49:25 -03:00
x86_64 Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
confstr.h
get_child_max.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
getlogin_r.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
getlogin.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
getpagesize.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
grantpt.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
ifreq.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
Implies
make-syscalls.sh Add SYSCALL_ULONG_ARG_[12] to pass long to syscall [BZ #25810] 2020-04-29 05:35:34 -07:00
Makefile Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
setxid.h
sockatmark.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
syscall-template.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
syscall.S Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
syscalls.list misc: Add time64 alias for ioctl 2021-07-21 11:58:09 +02:00
sysdep.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00