[PATCH] Fix stacksize returned for main process thread when RLIMIT_STACK is relevant
Carlos O'Donell
carlos@systemhalted.org
Wed Jun 20 15:18:00 GMT 2012
On Wed, Jun 20, 2012 at 5:47 AM, Siddhesh Poyarekar <siddhesh@redhat.com> wrote:
> On Wed, 20 Jun 2012 01:20:28 -0400, KOSAKI wrote:
>> Ah, I have one another req.
>>
>> +static void
>> +allocate_and_test (void *stackaddr)
>> +{
>> + void *mem = &mem;
>> + mem = alloca ((size_t) (mem - stackaddr));
>> + *(int *)(mem) = 0;
>> +}
>>
>>
>> This is slightly HPPA unfrinedly. please mark TODO for help Carlos.
>
> All of nptl is hppa-unfriendly right now ;)
>
> I've added a FIXME comment to the patch and have committed as a
> trivial change to my submission:
Thank you :-)
Cheers,
Carlos.
More information about the Libc-alpha
mailing list