On Tue, 8 Mar 2022 04:27:33 +1000, Nicholas Piggin wrote:
The sad tale of SIGSTKSZ and MINSIGSTKSZ is documented in glibc.git
commit f7c399cff5bd ("PowerPC SIGSTKSZ"), which explains why glibc
does not use the kernel defines for these constants. Since then in
fact there has been a further expansion of the signal stack frame size
on little-endian with linux commit 573ebfa6601f ("powerpc: Increase
stack redzone for 64-bit userspace to 512 bytes"), which has caused
it to exceed even the glibc defines.
[...]
Applied to powerpc/next.
[1/2] powerpc/64: Bump SIGSTKSZ and MINSIGSTKSZ
https://git.kernel.org/powerpc/c/2f82ec19757f58549467db568c56e7dfff8af283
[2/2] powerpc/signal: Report minimum signal frame size to userspace via AT_MINSIGSTKSZ
https://git.kernel.org/powerpc/c/2896b2dff49d0377e4372f470dcddbcb26f2be59
cheers