diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2012-06-20 13:03:13 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2012-06-20 15:08:22 +0530 |
commit | 18b5e737de22462ab6b3fc89f26c9ad480ebb843 (patch) | |
tree | 1590e539c9a989c7807a048962c3b895f116a0f9 /nptl/Makefile | |
parent | a2f34833b1042d5d8eeb263b4cf4caaea138c4ad (diff) | |
download | glibc-18b5e737de22462ab6b3fc89f26c9ad480ebb843.tar glibc-18b5e737de22462ab6b3fc89f26c9ad480ebb843.tar.gz glibc-18b5e737de22462ab6b3fc89f26c9ad480ebb843.tar.bz2 glibc-18b5e737de22462ab6b3fc89f26c9ad480ebb843.zip |
Account for the extra stack size when rlimit is small enough
When rlimit is small enough to be used as the stacksize to be returned
in pthread_getattr_np, cases where a stack is made executable due to a
DSO load get stack size that is larger than what the kernel
allows. This is because in such a case the stack size does not account
for the pages that have auxv and program arguments.
Additionally, the stacksize for the process derived from this should
be truncated to align to page size to avoid going beyond rlimit.
Diffstat (limited to 'nptl/Makefile')
-rw-r--r-- | nptl/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/Makefile b/nptl/Makefile index 2a36d01720..ef8e874cd8 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -245,7 +245,7 @@ tests = tst-typesizes \ tst-exec1 tst-exec2 tst-exec3 tst-exec4 \ tst-exit1 tst-exit2 tst-exit3 \ tst-stdio1 tst-stdio2 \ - tst-stack1 tst-stack2 tst-stack3 \ + tst-stack1 tst-stack2 tst-stack3 tst-pthread-getattr \ tst-unload \ tst-dlsym1 \ tst-sysconf \ |