glibc/sysdeps/ia64
Joseph Myers 12ef66c411 Fix ia64 executable stack default (bug 22156).
As per https://gcc.gnu.org/ml/gcc-patches/2017-09/msg01220.html ia64
defaults to non-executable stacks in the Linux kernel (furthermore,
the use of function descriptors means that trampolines for nested
function pointers never need an executable stack).  glibc however
defines DEFAULT_STACK_PERMS to include PF_X for that architecture,
meaning (a) elf/check-execstack fails and (b) (from code inspection,
not tested, but this is why I think this is a user-visible bug) thread
stacks are unnecessarily mapped with execute permission.  This patch
fixes the DEFAULT_STACK_PERMS definition in question.

Tested (compilation only) with build-many-glibcs.py for ia64.  This
fixes the check-execstack failure.

	[BZ #22156]
	* sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
2017-09-26 16:30:46 +00:00
..
bits Simplify HUGE_VAL definitions. 2017-08-31 15:50:50 +00:00
fpu New expf and exp2f version without SVID compat wrapper 2017-09-25 10:45:08 +01:00
nptl
_mcount.S
abort-instr.h
atomic-machine.h Optimize generic spinlock code and use C11 like atomic macros. 2017-06-06 09:41:56 +02:00
backtrace.c
bcopy.S
bzero.S
configure
configure.ac
crti.S
crtn.S
dl-dtprocnum.h
dl-fptr.h
dl-lookupcfg.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
dl-machine.h PowerPC64 ELFv2 PPC64_OPT_LOCALENTRY 2017-06-14 10:47:25 +09:30
dl-sysdep.h
dl-tls.h
dl-trampoline.S
entry.h
float128-abi.h Add float128 support for ia64. 2017-06-26 22:50:45 +00:00
gccframe.h
hp-timing.h
htonl.S
htons.S
ia64libgcc.S
ieee754.h
Implies Add float128 support for ia64. 2017-06-26 22:50:45 +00:00
jmpbuf-unwind.h
ldbl2mpn.c
ldsodefs.h
libc-tls.c
linkmap.h
machine-gmon.h
Makeconfig
Makefile Add float128 support for ia64. 2017-06-26 22:50:45 +00:00
math-tests.h Add float128 support for ia64. 2017-06-26 22:50:45 +00:00
memccpy.S
memchr.S
memcmp.S
memcpy.S
memmove.S
memset.S
memusage.h
sched_cpucount.c
softpipe.h
sotruss-lib.c
stackguard-macros.h
stackinfo.h Fix ia64 executable stack default (bug 22156). 2017-09-26 16:30:46 +00:00
start.S
strchr.S
strcmp.S
strcpy.S
strlen.S
strncmp.S
strncpy.S
sysdep.h
tininess.h
tls-macros.h
tst-audit.h
Versions