This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/12416] Dynamic linker incorrectly reduces the stack size when making it executable
- From: "roland at gnu dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Wed, 19 Jan 2011 18:53:25 +0000
- Subject: [Bug nptl/12416] Dynamic linker incorrectly reduces the stack size when making it executable
- Auto-submitted: auto-generated
- References: <bug-12416-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12416
Roland McGrath <roland at gnu dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |roland at gnu dot org
--- Comment #2 from Roland McGrath <roland at gnu dot org> 2011-01-19 18:53:23 UTC ---
Changing the page protections splits the mapping into two mappings. There is
no other way it could be in the kernel. The mapping is the granularity at
which page protections are managed. The /proc/pid/maps output is arguably
wrong because after the split, only the lower mapping displays as [stack].
But pthread_getattr_np doesn't pay attention to the [stack] magic name anyway,
it just looks at addresses. So pthread_getattr_np needs to look at multiple
contiguous mappings after the one containing __libc_stack_end if the intent is
that its results are consistent after a protection change.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.