HomeFreeBSD

mips: Fix sendsig for stack layout randomisation

Description

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")

Details

Provenance
jrtc27Authored on Jan 31 2023, 1:27 AM
Parents
rGa82b1ca60381: libc: Fix longjmp/_longjmp(buf, 0) for MIPS
Branches
Unknown
Tags
Unknown