]> sourceware.org Git - glibc.git/commit
posix_spawn: fix stack setup on ia64 [BZ #21275] gentoo/2.25
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:57:14 +0000 (10:57 -0400)
commit1009e1fd879bbe5d1a84a1c6b752306a551058fb
tree063b93c001b2c9ac6805130e8d5f25364e42fcf7
parent92bec3dad990b1dda9a82966913fce04b5c99c02
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 27ab0d9518746dfb59ed2ba59daefc981dc10e38)
sysdeps/unix/sysv/linux/spawni.c
This page took 0.041783 seconds and 5 git commands to generate.