[committed] xfail check-execstack on hppa

Message ID 025e5454-f165-2205-596c-0e34818a4523@bell.net
State New
Headers show
Series
  • [committed] xfail check-execstack on hppa
Related show

Commit Message

John David Anglin June 10, 2018, 6:10 p.m.
The hppa linux kernel still requires an executable stack for syscall 
restarts and signal returns.
So, I have xfailed check-execstack as suggested by Joseph.

Committed to master.

Dave

Patch

diff --git a/sysdeps/unix/sysv/linux/hppa/Makefile b/sysdeps/unix/sysv/linux/hppa/Makefile
index 68569013fb..e1637f54f5 100644
--- a/sysdeps/unix/sysv/linux/hppa/Makefile
+++ b/sysdeps/unix/sysv/linux/hppa/Makefile
@@ -2,3 +2,10 @@ 
 ifeq ($(subdir),stdlib)
 gen-as-const-headers += ucontext_i.sym
 endif
+
+# Supporting non-executable stacks on HPPA requires changes to both
+# the Linux kernel and glibc. The kernel currently needs an executable
+# stack for syscall restarts and signal returns.
+ifeq ($(subdir),elf)
+test-xfail-check-execstack = yes
+endif