Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141115205630.GP22465@brightrain.aerifal.cx>
Date: Sat, 15 Nov 2014 15:56:30 -0500
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Subject: Re: Possible bug: MINSIGSTKSZ values

On Fri, Nov 14, 2014 at 10:18:43PM -0500, Rich Felker wrote:
> Note that the min pthread stack size is also well below the size of
> ucontext_t for many archs, but I don't think this is a problem. If you
> make a thread with a stack smaller than MINSIGSTKSZ+epsilon, you just
> need to start it with all signals blocked and leave them blocked (or
> avoid using signal handlers at all).

Sadly, this logic seems incorrect since we depend on signals for
cancellation. So the minimum allowable thread stack size might also be
forced higher on archs that need large signal frames... :(

Rich

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.