Re: [PATCH] tools/nolibc: s390: disable stackprotector in _start

From: Willy Tarreau
Date: Wed May 24 2023 - 12:30:18 EST


On Wed, May 24, 2023 at 06:27:06PM +0200, Thomas Weißschuh wrote:
> s390 does not support the "global" stack protector mode that is
> implemented in nolibc.
>
> Now that nolibc detects if stack protectors are enabled at runtime it
> could happen that a future compiler does indeed use global mode on
> and nolibc would compile but segfault at runtime.
>
> To avoid this hypothetic case and to align s390 with the other
> architectures disable stack protectors when compiling _start().
(...)

Queued, same branch. Thanks Thomas!
Willy