diff options
author | Roland McGrath <roland@gnu.org> | 2003-12-23 23:07:41 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2003-12-23 23:07:41 +0000 |
commit | 432aaf5b3c599d8eb7e70acf8a9b31fa4185c41f (patch) | |
tree | c6dc8d9317efaf0e4cad3d47a4ade0269be04088 /nptl/Makefile | |
parent | d9cabb2f8060f2fb41abff2ea745534a3ad2bf97 (diff) | |
download | glibc-432aaf5b3c599d8eb7e70acf8a9b31fa4185c41f.tar.gz glibc-432aaf5b3c599d8eb7e70acf8a9b31fa4185c41f.tar.xz glibc-432aaf5b3c599d8eb7e70acf8a9b31fa4185c41f.zip |
* tst-oddstacklimit.c: New file.
* Makefile (tests): Add it. (tst-oddstacklimit-ENV): New variable. * init.c (__pthread_initialize_minimal_internal): Round stack rlimit value up to page size for __default_stacksize.
Diffstat (limited to 'nptl/Makefile')
-rw-r--r-- | nptl/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/nptl/Makefile b/nptl/Makefile index 7710ae7620..4cacbd6057 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -233,7 +233,12 @@ tests = tst-attr1 tst-attr2 tst-attr3 \ tst-popen1 \ tst-clock1 tst-clock2 \ tst-context1 \ - tst-sched1 + tst-sched1 \ + tst-oddstacklimit + +# This sets the stack resource limit to 1023kb, which is not a multiple +# of the page size since every architecture's page size is > 1k. +tst-oddstacklimit-ENV = ; ulimit -s 1023; distribute = eintr.c tst-cleanup4aux.c |