From: Roland McGrath Date: Tue, 23 Dec 2003 23:07:41 +0000 (+0000) Subject: * tst-oddstacklimit.c: New file. X-Git-Tag: cvs/ChangeLog~117 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=432aaf5b3c599d8eb7e70acf8a9b31fa4185c41f;p=thirdparty%2Fglibc.git * 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. --- diff --git a/nptl/ChangeLog b/nptl/ChangeLog index cba6f7f34f6..e0e2beeb924 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,12 @@ +2003-12-23 Roland McGrath + + * 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. + 2003-12-21 Ulrich Drepper * Makefile (tests): Add tst-eintr5. diff --git a/nptl/Makefile b/nptl/Makefile index 7710ae7620c..4cacbd6057b 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 diff --git a/nptl/tst-oddstacklimit.c b/nptl/tst-oddstacklimit.c new file mode 100644 index 00000000000..9fbef18892a --- /dev/null +++ b/nptl/tst-oddstacklimit.c @@ -0,0 +1 @@ +#include "tst-basic1.c"