about summary refs log tree commit diff
path: root/src/env
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-09-18 23:11:49 -0400
committerRich Felker <dalias@aerifal.cx>2018-09-18 23:11:49 -0400
commitc0058ab465e950c2c3302d2b62e21cc0b494224b (patch)
tree5554636de7306adb08201fc71f0e51d6b04d61ee /src/env
parent792f32772e64a32527cd455ebfa087ef434a6f4f (diff)
downloadmusl-c0058ab465e950c2c3302d2b62e21cc0b494224b.tar.gz
musl-c0058ab465e950c2c3302d2b62e21cc0b494224b.tar.xz
musl-c0058ab465e950c2c3302d2b62e21cc0b494224b.zip
increase default thread stack/guard size
stack size default is increased from 80k to 128k. this coincides with
Linux's hard-coded default stack for the main thread (128k is
initially committed; growth beyond that up to ulimit is contingent on
additional allocation succeeding) and GNU ld's default PT_GNU_STACK
size for FDPIC, at least on sh.

guard size default is increased from 4k to 8k to reduce the risk of
guard page jumping on overflow, since use of just over 4k of stack is
common (PATH_MAX buffers, etc.).
Diffstat (limited to 'src/env')
0 files changed, 0 insertions, 0 deletions