Re: [PATCH 2/2] powerpc/signal: Report minimum signal frame size to userspace via AT_MINSIGSTKSZ

From
Tulio Magno Quites Machado Filho <hidden>
Date
2022-05-18 12:25:01
Reply to
Nicholas Piggin, 2022-03-07
Nicholas Piggin [off-list ref] writes:
Implement the AT_MINSIGSTKSZ AUXV entry, allowing userspace to
dynamically size stack allocations in a manner forward-compatible with
new processor state saved in the signal frame

For now these statically find the maximum signal frame size rather than
doing any runtime testing of features to minimise the size.

glibc 2.34 will take advantage of this, as will applications that use
use _SC_MINSIGSTKSZ and _SC_SIGSTKSZ.

Cc: Alan Modra <redacted>
Cc: Tulio Magno Quites Machado Filho <redacted>
References: 94b07c1f8c39 ("arm64: signal: Report signal frame size to userspace via auxv")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Both patches LGTM from a glibc point of view.

Reviewed-by: Tulio Magno Quites Machado Filho <redacted>

Thanks!

-- 
Tulio Magno
Thread (4 messages) 4 messages, 3 authors, last reply 2022-05-24
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help