Linux: Do not align the stack for __clone3
commit2290cf73cce1292d9345a8183fd29ae3994a9481
authorAdhemerval Zanella Netto <adhemerval.zanella@linaro.org>
Thu, 12 Jan 2023 13:58:50 +0000 (12 10:58 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 1 Feb 2023 11:42:11 +0000 (1 08:42 -0300)
tree293c1361e50d8fc4c6b22c57d35f51521a5c3d83
parent2fe58919a0bfd1064c59120520116237ba818ed3
Linux: Do not align the stack for __clone3

All internal callers of __clone3 should provide an already aligned
stack.  Removing the stack alignment in __clone3 is a net gain: it
simplifies the internal function contract (mask/unmask signals) along
with the arch-specific code.

Checked on x86_64-linux-gnu.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
include/clone_internal.h
sysdeps/unix/sysv/linux/tst-misalign-clone-internal.c [deleted file]
sysdeps/unix/sysv/linux/x86_64/clone3.S