]> git.ipfire.org Git - thirdparty/glibc.git/commit
aarch64: align stack in clone [BZ #27939]
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Tue, 1 Jun 2021 08:23:40 +0000 (09:23 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Wed, 26 Jan 2022 21:51:14 +0000 (22:51 +0100)
commitd251ad533e4eeaef6e5064b0212f36a3853f18bf
tree66f1db6479f2f0a02976d674931d8c4ce9285eae
parent06ce5fbd6d815823822da0c75b025298eb7edb08
aarch64: align stack in clone [BZ #27939]

The AArch64 PCS requires 16 byte aligned stack.  Previously if the
caller passed an unaligned stack to clone then the child crashed.

Fixes bug 27939.

(cherry picked from commit 3842ba494963b1d76ad5f68b8d1e5c2279160e31)
sysdeps/unix/sysv/linux/aarch64/clone.S