|
From: | Paul Eggert |
Subject: | Re: sigsegv, c-stack: Avoid compilation error with glibc >= 2.34 |
Date: | Sun, 16 May 2021 21:45:16 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
On 5/16/21 7:33 PM, Bruno Haible wrote:
I don't have time to rewrite all these unit tests and autoconf tests.
Can we assume you wouldn't mind if someone did take the time? (Not that I'm volunteering right just now.)
(Additionally, if we were to use malloc() as a replacement, watch out that malloc()ed memory may not be executable, but some programs need an executable stack.)
That shouldn't be a problem on GNU platforms, since it's documented that you can malloc the alternate signal stack. If it does turn into a problem, I suppose we can assume that when SIGSTKSZ is not a constant that malloc should work (otherwise how could you ever create an alternate signal stack?).
[Prev in Thread] | Current Thread | [Next in Thread] |