# 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 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2022/05/9526837
- Thread: https://ratatoskr.run/linuxppc-dev/2022/03/9526257/t.md

```text
Nicholas Piggin [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
```
