]> sourceware.org Git - glibc.git/commitdiff
* tst-oddstacklimit.c: New file.
authorRoland McGrath <roland@gnu.org>
Tue, 23 Dec 2003 23:07:41 +0000 (23:07 +0000)
committerRoland McGrath <roland@gnu.org>
Tue, 23 Dec 2003 23:07:41 +0000 (23:07 +0000)
* 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.

nptl/ChangeLog
nptl/Makefile
nptl/tst-oddstacklimit.c [new file with mode: 0644]

index cba6f7f34f6f64ee179495585f62dc817f4d7d6e..e0e2beeb924ffe75091175f844acbe2401fa40b9 100644 (file)
@@ -1,3 +1,12 @@
+2003-12-23  Roland McGrath  <roland@redhat.com>
+
+       * 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  <drepper@redhat.com>
 
        * Makefile (tests): Add tst-eintr5.
index 7710ae7620c97fc07b41ac6db6ec35680a152ec6..4cacbd6057b91306885eb8d12bbc339014402775 100644 (file)
@@ -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 (file)
index 0000000..9fbef18
--- /dev/null
@@ -0,0 +1 @@
+#include "tst-basic1.c"
This page took 0.048894 seconds and 5 git commands to generate.