[PATCH 2/2][BZ #12416] Use stack boundaries from /proc/PID/maps to make stack executable
Siddhesh Poyarekar
siddhesh@redhat.com
Tue Jun 12 14:55:00 GMT 2012
On Mon, 11 Jun 2012 18:43:17 -0400, KOSAKI wrote:
>
> If my parsing is correct, following adjustment only works when
> previous vma is enough near.
>
> > /* The limit might be too high. */
> > if ((size_t) iattr->stacksize
> > > (size_t) iattr->stackaddr - last_to)
> > iattr->stacksize = (size_t) iattr->stackaddr
> > - last_to;
>
> Am I missing something?
>
No you're right, I missed that point. I'll post a patch once I figure
out a reproducer, because I'd like to capture it in a test case.
Thanks,
Siddhesh
More information about the Libc-alpha
mailing list