aboutsummaryrefslogtreecommitdiff
path: root/scripts/cpp
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2025-01-29 16:51:16 -0500
committerJohn David Anglin <danglin@gcc.gnu.org>2025-02-02 17:47:15 -0500
commite899ca3651f8c5e01bf3420cfb34aad97d093f74 (patch)
tree8df4fc72884530e780842727b376a3e60dd5f47f /scripts/cpp
parent85668221974db44459527e04d04f77ca8f8e3115 (diff)
downloadglibc-e899ca3651f8c5e01bf3420cfb34aad97d093f74.tar.xz
glibc-e899ca3651f8c5e01bf3420cfb34aad97d093f74.zip
nptl: Correct stack size attribute when stack grows up [BZ #32574]
Set stack size attribute to the size of the mmap'd region only when the size of the remaining stack space is less than the size of the mmap'd region. This was reversed. As a result, the initial stack size was only 135168 bytes. On architectures where the stack grows down, the initial stack size is approximately 8384512 bytes with the default rlimit settings. The small main stack size on hppa broke applications like ruby that check for stack overflows. Signed-off-by: John David Anglin <dave.anglin@bell.net>
Diffstat (limited to 'scripts/cpp')
0 files changed, 0 insertions, 0 deletions