Messages in this thread | | | Date | Tue, 6 Oct 2015 12:33:28 +0100 | From | Dave Martin <> | Subject | Re: [PATCHv2] ARM64:Fix MINSIGSTKSZ and SIGSTKSZ |
| |
On Tue, Oct 06, 2015 at 12:59:45PM +0200, Andreas Schwab wrote: > Arnd Bergmann <arnd@arndb.de> writes: > > > I think it makes sense to stick with the traditional definition > > of MINSIGSTKSZ == "the minimum amount that you will always need, > > add whatever you require yourself" and SIGSTKSZ == "Should be > > enough for a couple of function calls". > > The python3 testsuite wants to put two signal frames in a SIGSTKSZ > stack.
Whether it's valid to expect SIGSTKSZ to be big enough for that is debatable.
But I guess that SIGSTKSZ = MINSIGSTKSZ * 4 provides some insurance against such assumptions (doubtless the python testsuite is not the only code affected).
Cheers ---Dave
| |