[PATCH v4 0/5] aarch64: support shadow stack in clone3
enh
enh@google.com
Tue Nov 11 18:52:40 GMT 2025
yeah, historically i've hated similar apis but that's in part been
because stack usage was so dependent on locals and inlining decisions
and the like. but while inlining decisions are still relevant here, it
does seem like this -- being only a control stack -- is going to be
strictly less problematic.
(though almost every case i can think of has ended in "no, _you're_
the problem --- change your algorithm so its machine stack use isn't
proportional to the size of input; stop tweaking the machine stack
size and get your own heap allocated stack-like data structure", and
i'm not sure that's likely to change here.)
On Mon, Nov 10, 2025 at 9:38 AM Yury Khrustalev <yury.khrustalev@arm.com> wrote:
>
> Hi Elliot and Rich,
>
> CC-ing both of you hoping to get your feedback from Bionic and Musl
> point of view for the new pthread attr functions to manage shadow
> stack size. Any feedback is highly appreciated!
>
> Thanks,
> Yury
>
More information about the Libc-alpha
mailing list