]> git.ipfire.org Git - thirdparty/glibc.git/commit
posix_spawn: fix stack setup on ia64 [BZ #21275] gentoo/2.24
authorMike Frysinger <vapier@gentoo.org>
Mon, 20 Mar 2017 08:47:56 +0000 (04:47 -0400)
committerMike Frysinger <vapier@gentoo.org>
Mon, 20 Mar 2017 14:56:52 +0000 (10:56 -0400)
commitd1d39a2ed04e50503676bcf3e4a17080ccd5487b
tree4c8a065fb6d2a739c6148d5e7a25d0c23812973e
parent764c430aa0c6af6181d5834bcb20d8ea99562992
posix_spawn: fix stack setup on ia64 [BZ #21275]

The ia64-specific clone2 call expects the base of the stack mapping and
the stack size as sep arguments, not an initial stack value as on other
stack-grows-down architectures.  Reuse the stack-grows-up macro so we
pass in the right stack base.

Reported-by: Matt Turner <mattst88@gentoo.org>
(cherry picked from commit ddc3fb333469c2997798742dc0509dc1e3201d91)
(cherry picked from commit 7043946c7921c0e3850dd2b3d948336624bb0f62)
sysdeps/unix/sysv/linux/spawni.c