freebsd-dev/lib/libc
Brandon Bergren e039e3d1d2 [POWERPC] Fix ppc64 makecontext() parameter overflow handling.
On ELFv2, the overflow parameters in the stack frame are at a different offset
from sp than ELFv1. Adjust code to use the correct offset in all cases.

This had resulted in argv[8] and up being copied to the incorrect address
in the new context's initial stack frame.

This is not necessarily the only bug in this function, I need to do a full
review still and ensure the rest of the math is sane for ELFv2 stack frames.

Reported by:	pherde (Probably. My notes are a bit unclear.)
Reviewed by:	jhibbits (in irc)
Sponsored by:	Tag1 Consulting, Inc.
2020-08-06 17:49:19 +00:00
..
aarch64
amd64
arm
capability libcasper(3): Document HISTORY within the manpages 2020-06-16 16:48:52 +00:00
compat-43
db Remove the SYMVER build option. 2020-04-30 22:08:40 +00:00
gdtoa Remove sparc64 specific parts of libc. 2020-02-26 18:55:09 +00:00
gen directory(3): Add an ERRORS section 2020-08-04 08:46:28 +00:00
gmon
i386
iconv Remove the SYMVER build option. 2020-04-30 22:08:40 +00:00
include Add pthread_getname_np() and pthread_setname_np() aliases for 2020-06-10 22:13:24 +00:00
inet
isc
locale Explain how to learn about possible recognized locale names 2020-06-27 20:55:47 +00:00
md
mips
nameser
net Add include missing from my last commit. 2020-06-21 23:47:27 +00:00
nls Fix race condition in catopen(3). 2020-03-19 06:33:06 +00:00
posix1e Remove the SYMVER build option. 2020-04-30 22:08:40 +00:00
powerpc
powerpc64 [POWERPC] Fix ppc64 makecontext() parameter overflow handling. 2020-08-06 17:49:19 +00:00
powerpcspe
quad
regex libregex: Implement a subset of the GNU extensions 2020-08-04 02:14:51 +00:00
resolv
riscv libc: Provide sub fp(s|g)etmask() implementations for RISC-V 2020-08-03 12:48:51 +00:00
rpc Fix -Wvoid-pointer-to-enum-cast warnings. 2020-04-15 18:15:58 +00:00
secure Remove the SYMVER build option. 2020-04-30 22:08:40 +00:00
softfloat
stdio fgetln(3): Add a Caveats Section 2020-06-18 13:13:04 +00:00
stdlib Fix a typo: argments -> arguments 2020-05-19 11:05:27 +00:00
stdtime
string strtok(3): make it easier to find the RETURN VALUES section 2020-06-22 11:03:36 +00:00
sys [skip ci] document close_range(2) as async-signal-safe 2020-07-21 16:46:40 +00:00
tests Revert r351416 to let lib.libc.gen.getmntinfo_test.getmntinfo_test get more test 2020-07-13 18:19:02 +00:00
uuid
x86
xdr
yp
libc_nossp.ldscript
libc.ldscript
Makefile Revert that! 2020-07-19 23:56:19 +00:00
Makefile.depend
Makefile.depend.options
Versions.def