threads/160708: Bypass process stack quota :)
misho at elwix.org
Sat Sep 17 11:50:08 UTC 2011
The following reply was made to PR threads/160708; it has been noted by GNATS.
From: Michael Pounov <misho at elwix.org>
To: freebsd-gnats-submit at freebsd.org
Subject: Re: threads/160708: Bypass process stack quota :)
Date: Sat, 17 Sep 2011 14:26:11 +0300
Hmm, you no so right Peter.
Yes I can move esp pointer in any other address, but please
start program and see address of allocated memory for every thread.
All this allocations is made in upper memory called stack.
Try same alloca() in main program thread and you see how
system terminate program if you going over stack limit.
More information about the freebsd-threads