projects
/
platform
/
upstream
/
linaro-glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac98d05
)
(__pthread_attr_setguardsize): Don't round guardsize here.
author
Ulrich Drepper
<drepper@redhat.com>
Mon, 30 Oct 2000 07:39:06 +0000
(07:39 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Mon, 30 Oct 2000 07:39:06 +0000
(07:39 +0000)
linuxthreads/attr.c
patch
|
blob
|
history
diff --git
a/linuxthreads/attr.c
b/linuxthreads/attr.c
index
fc1ab59
..
1aeac54
100644
(file)
--- 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;