parisc: Fix vDSO signal breakage on 32-bit kernel
Addition of vDSO support for parisc in kernel v5.18 suddenly broke glibc
signal testcases on a 32-bit kernel.
The trampoline code (sigtramp.S) which is mapped into userspace includes
an offset to the context data on the stack, which is used by gdb and
glibc to get access to registers.
In a 32-bit kernel we used by mistake the offset into the compat context
(which is valid on a 64-bit kernel only) instead of the offset into the
"native" 32-bit context.
Reported-by: John David Anglin <firstname.lastname@example.org>
Tested-by: John David Anglin <email@example.com>
Fixes: df24e1783e6e ("parisc: Add vDSO support")
CC: firstname.lastname@example.org # 5.18
Signed-off-by: Helge Deller <email@example.com>
1 file changed