This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix stack memory protection on targets where the stack grows upward
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: John David Anglin <dave dot anglin at bell dot net>
- Cc: GNU C Library <libc-alpha at sourceware dot org>, Carlos O'Donell <carlos at redhat dot com>, Mike Frysinger <vapier at gentoo dot org>, Aurelien Jarno <aurelien at aurel32 dot net>, Helge Deller <deller at gmx dot de>
- Date: Sun, 16 Apr 2017 22:06:29 +0200
- Subject: Re: [PATCH] Fix stack memory protection on targets where the stack grows upward
- Authentication-results: sourceware.org; auth=none
- References: <AAC3E651-7095-4CCA-BABA-498347523392@bell.net>
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.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."