[PATCH 2/2] powerpc/signal: Report minimum signal frame size to userspace via AT_MINSIGSTKSZ
Tulio Magno Quites Machado Filho
tuliom at linux.ibm.com
Wed May 18 22:24:09 AEST 2022
Nicholas Piggin <npiggin at gmail.com> 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 <amodra at gmail.com>
> Cc: Tulio Magno Quites Machado Filho <tuliom at linux.ibm.com>
> References: 94b07c1f8c39 ("arm64: signal: Report signal frame size to userspace via auxv")
> Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
Both patches LGTM from a glibc point of view.
Reviewed-by: Tulio Magno Quites Machado Filho <tuliom at linux.ibm.com>
Thanks!
--
Tulio Magno
More information about the Linuxppc-dev
mailing list