https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253337

--- Comment #4 from Alex S <[email protected]> ---
Here's how this looks on Ubuntu:

xubuntu@xubuntu:~$ uname -a
Linux xubuntu 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020
x86_64 x86_64 x86_64 GNU/Linux
xubuntu@xubuntu:~$ gcc apparent_stack_size.c -pthread -o test
xubuntu@xubuntu:~$ ./test
7feaba441000-7feaba442000 rw-p 00000000 00:00 0 
7ffca0aef000-7ffca0b10000 rw-p 00000000 00:00 0                         
[stack]
7ffca0b6b000-7ffca0b6e000 r--p 00000000 00:00 0                          [vvar]
7ffca0b6e000-7ffca0b6f000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 --xp 00000000 00:00 0                 
[vsyscall]
stack size = 8384512
xubuntu@xubuntu:~$ ulimit -s 3000
xubuntu@xubuntu:~$ ./test
7f07aa268000-7f07aa269000 rw-p 00000000 00:00 0 
7ffc606ee000-7ffc6070f000 rw-p 00000000 00:00 0                         
[stack]
7ffc60765000-7ffc60768000 r--p 00000000 00:00 0                          [vvar]
7ffc60768000-7ffc60769000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 --xp 00000000 00:00 0                 
[vsyscall]
stack size = 3063808

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to