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

From: Tulio Magno Quites Machado Filho <[email-masked]>
Date: Wed, 18 May 2022 09:24:09 -0300

Nicholas Piggin <[email-masked]> 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 <[email-masked]>
> Cc: Tulio Magno Quites Machado Filho <[email-masked]>
> References: 94b07c1f8c39 ("arm64: signal: Report signal frame size to userspace via auxv")
> Signed-off-by: Nicholas Piggin <[email-masked]>

Both patches LGTM from a glibc point of view.

Reviewed-by: Tulio Magno Quites Machado Filho <[email-masked]>

Thanks!

-- 
Tulio Magno