From 32d9b0e7a6d2de37dabaedc848c9842f2aef8575 Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Sat, 15 Jul 2017 12:54:14 -0400 Subject: Fix [BZ locale/19838]. --- ChangeLog | 3 +++ sysdeps/unix/sysv/linux/hppa/bits/shm.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 41c050e0a3..24a09e9c90 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2017-07-15 John David Anglin + [BZ locale/19838] + * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHMLBA): Set to page size. + * nptl/allocatestack.c (allocate_stack): Align old and new guard addresses to page boundaries when the stack grows up. diff --git a/sysdeps/unix/sysv/linux/hppa/bits/shm.h b/sysdeps/unix/sysv/linux/hppa/bits/shm.h index 794f0ab2da..495dae8afc 100644 --- a/sysdeps/unix/sysv/linux/hppa/bits/shm.h +++ b/sysdeps/unix/sysv/linux/hppa/bits/shm.h @@ -37,7 +37,7 @@ #define SHM_UNLOCK 12 /* unlock segment (root only) */ /* Segment low boundary address multiple. */ -#define SHMLBA 0x00400000 /* address needs to be 4 Mb aligned */ +#define SHMLBA 0x1000 /* Type to count number of attaches. */ typedef unsigned long int shmatt_t; -- cgit 1.4.1