about summary refs log tree commit diff
path: root/linuxthreads/attr.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-10-30 07:39:06 +0000
committerUlrich Drepper <drepper@redhat.com>2000-10-30 07:39:06 +0000
commit56c511b54b34853459bcbb79b4fdb6d95f5e83a5 (patch)
tree557bc3d992a0460b9c1a4f768c36bbd2df95cd35 /linuxthreads/attr.c
parentac98d053933f1e801c4631b76fcf83bf71213370 (diff)
downloadglibc-56c511b54b34853459bcbb79b4fdb6d95f5e83a5.tar.gz
glibc-56c511b54b34853459bcbb79b4fdb6d95f5e83a5.tar.xz
glibc-56c511b54b34853459bcbb79b4fdb6d95f5e83a5.zip
(__pthread_attr_setguardsize): Don't round guardsize here.
Diffstat (limited to 'linuxthreads/attr.c')
-rw-r--r--linuxthreads/attr.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/linuxthreads/attr.c b/linuxthreads/attr.c
index fc1ab59674..1aeac54ff1 100644
--- a/linuxthreads/attr.c
+++ b/linuxthreads/attr.c
@@ -145,11 +145,6 @@ int pthread_attr_getscope(const pthread_attr_t *attr, int *scope)
 
 int __pthread_attr_setguardsize(pthread_attr_t *attr, size_t guardsize)
 {
-  size_t ps = __getpagesize ();
-
-  /* First round up the guard size.  */
-  guardsize = page_roundup (guardsize, ps);
-
   /* The guard size must not be larger than the stack itself */
   if (guardsize >= attr->__stacksize) return EINVAL;