]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
mips: Fix sendsig for stack layout randomisation
authorJessica Clarke <jrtc27@FreeBSD.org>
Tue, 31 Jan 2023 01:27:50 +0000 (01:27 +0000)
committerJessica Clarke <jrtc27@FreeBSD.org>
Tue, 31 Jan 2023 01:46:18 +0000 (01:46 +0000)
commitd00a638bfd668fea9608fa14cbcea3df783e9be5
treec6b8f34f8395fe9c08cdefb266bb32ea2acc6514
parenta82b1ca6038152eb5740552507534842acebede2
mips: Fix sendsig for stack layout randomisation

PS_STRINGS doesn't account for the stack gap, we need to use the new
PROC_PS_STRINGS macro to correctly point at the trampoline.

This is a direct commit to stable/13 as mips no longer exists in main.

Fixes: d247611467e0 ("exec: Introduce the PROC_PS_STRINGS() macro")
sys/mips/mips/pm_machdep.c