[PATCH v2] Fix stack memory protection on targets where the stack grows upward

John David Anglin dave.anglin@bell.net
Mon Apr 17 12:13:00 GMT 2017


On 2017-04-16, at 4:06 PM, Andreas Schwab wrote:

> On Apr 16 2017, John David Anglin <dave.anglin@bell.net> wrote:
> 
>> +	  char *new_guard = (char *)(((uintptr_t) pd - guardsize) & ~pagesize_m1);
>> +	  char *old_guard = (char *)(((uintptr_t) pd - pd->guardsize) & ~pagesize_m1);
> 
> The lines are too long.

The long lines are fixed in this version.  Otherwise, unchanged.

Dave
--
John David Anglin	dave.anglin@bell.net


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: allocatestack-v2.d.txt
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20170417/549b368d/attachment.txt>


More information about the Libc-alpha mailing list