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