mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-11 13:50:06 +00:00
0499a353a6
Writable, executable segments defeat security hardening. The existing check for DT_TEXTREL does not catch this. hppa and SPARC currently keep the PLT in an RWX load segment.
17 lines
508 B
Makefile
17 lines
508 B
Makefile
# Used by *context() functions
|
|
ifeq ($(subdir),stdlib)
|
|
gen-as-const-headers += ucontext_i.sym
|
|
endif
|
|
|
|
ifeq ($(subdir),elf)
|
|
# 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.
|
|
test-xfail-check-execstack = yes
|
|
|
|
# On hppa, the PLT is executable because it contains an executable
|
|
# trampoline used during lazy binding.
|
|
test-xfail-check-wx-segment = *
|
|
|
|
endif # $(subdir) == elf
|