aboutsummaryrefslogtreecommitdiff
path: root/db2/os/db_os_rw.c
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-01-29 16:51:16 -0500
commit8e86549d1417a4618ab98d10aaba427350b321c6 (patch)
tree4c924a001723827348686367377fa838d2f06b36 /db2/os/db_os_rw.c
parent32ac9f8049adc7a7b92c3f27286de745691ad233 (diff)
downloadglibc-master.zip
glibc-master.tar.gz
glibc-master.tar.bz2
nptl: Correct stack size attribute when stack grows up [BZ #32574]HEADmaster
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 'db2/os/db_os_rw.c')
0 files changed, 0 insertions, 0 deletions