1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-22 07:37:38 +01:00
libunwind-eh_elf/tests
Jan Kratochvil 57e5696463 Mark Wielaard <mwielaard@redhat.com> writes:
On some systems executable stacks are denied. Since libunwind and the
tests don't actually need executable stacks this patch marks all
assembly files as not needing it.

The original patch comes from frysk:

2007-04-05  Jan Kratochvil  <jan.kratochvil@redhat.com>

    * src/hppa/getcontext.S, src/hppa/setcontext.S, src/hppa/siglongjmp.S,
    src/ia64/Ginstall_cursor.S, src/ia64/Linstall_cursor.S,
    src/ia64/dyn_info_list.S, src/ia64/getcontext.S, src/ia64/longjmp.S,
    src/ia64/setjmp.S, src/ia64/siglongjmp.S, src/ia64/sigsetjmp.S,
    src/ppc64/longjmp.S, src/ppc64/siglongjmp.S, src/x86/longjmp.S,
    src/x86/siglongjmp.S, src/x86_64/longjmp.S, src/x86_64/setcontext.S,
    src/x86_64/siglongjmp.S: Stack should be non-executable, for SELinux.

I added a couple more markers for new files in current libunwind.

Before this patch you would get the following on selinux enabled
systems without allow_exec_stack: error while loading shared
libraries:

libunwind.so.7: cannot enable executable stack as shared object
	requires: Permission denied

After the patch that error disappears and all test results are similar
to the results on systems without executable stack protection.
2007-10-01 08:35:01 -06:00
..
check-namespace.sh.in On PA-Linux, allow for _Uhppa_setcontext symbol. 2005-05-03 09:13:17 +00:00
flush-cache.S Mark Wielaard <mwielaard@redhat.com> writes: 2007-10-01 08:35:01 -06:00
forker.c Bring git v0.98.5 tree in sync with released v0.98.5. 2006-07-25 21:32:28 -06:00
Gia64-test-nat.c Include "tdep-ia64/rse.h" instead of "ia64/rse.h". 2005-05-20 09:48:08 +00:00
Gia64-test-rbs.c (ARRAY_SIZE): Rename from NELEMS. 2005-05-20 09:48:08 +00:00
Gia64-test-readonly.c Make libunwind compile with recent versions of GAS. 2006-07-25 21:34:32 -06:00
Gia64-test-stack.c Rename: tests/ia64-test-stack.c -> tests/Gia64-test-stack.c 2003-02-22 03:08:22 +00:00
Gperf-simple.c Tweak such that GCC v4 doesn't optimize it to the point where the 2005-05-03 09:13:17 +00:00
Gtest-bt.c (STACK_SIZE): SIGSTKSZ is also ridiculously small on x86-64 (at least 2005-05-03 09:13:17 +00:00
Gtest-concurrent.c (doit): Set stack-size attribute to increase likelihood that we're able 2005-05-05 09:23:46 +00:00
Gtest-dyn1.c 2007-04-05 Jan Kratochvil <jan.kratochvil@redhat.com> 2007-05-16 13:16:31 -06:00
Gtest-exc.c Include "config.h" and <ia64intrin.h> if we have them. 2005-05-03 09:13:17 +00:00
Gtest-init.cxx Print normal output only if "verbose" mode is requested. 2003-09-25 05:29:14 +00:00
Gtest-resume-sig.c (handler): get_bsp() returns an integer, not a pointer. 2005-05-03 09:13:17 +00:00
ia64-dyn-asm.S Mark Wielaard <mwielaard@redhat.com> writes: 2007-10-01 08:35:01 -06:00
ia64-test-dyn1.c (create_func): Change %Zu to %zu. 2004-05-12 20:54:56 +00:00
ia64-test-nat-asm.S Mark Wielaard <mwielaard@redhat.com> writes: 2007-10-01 08:35:01 -06:00
ia64-test-rbs-asm.S Mark Wielaard <mwielaard@redhat.com> writes: 2007-10-01 08:35:01 -06:00
ia64-test-rbs.h (Logical change 1.47) 2003-02-14 06:25:36 +00:00
ia64-test-readonly-asm.S Mark Wielaard <mwielaard@redhat.com> writes: 2007-10-01 08:35:01 -06:00
ia64-test-setjmp.c [IA64] Fix ia64-test-setjmp.c. With MAP_SHARED the kernel will try to 2007-08-09 16:26:58 -06:00
ia64-test-sig.c Fix up a little so it's silent by default. 2004-08-31 13:59:10 +00:00
ia64-test-stack-asm.S Mark Wielaard <mwielaard@redhat.com> writes: 2007-10-01 08:35:01 -06:00
ia64-test-stack.h Bring git v0.98.5 tree in sync with released v0.98.5. 2006-07-25 21:32:28 -06:00
ident.c (Logical change 1.276) 2004-10-15 13:48:38 +00:00
Lia64-test-nat.c Regenerate. 2004-05-04 22:19:18 +00:00
Lia64-test-rbs.c Regenerate. 2004-05-04 22:19:18 +00:00
Lia64-test-readonly.c (Logical change 1.231) 2004-05-06 20:26:29 +00:00
Lia64-test-stack.c Regenerate. 2004-05-04 22:19:18 +00:00
Lperf-simple.c Regenerate. 2004-05-04 22:19:18 +00:00
Ltest-bt.c (Logical change 1.270) 2004-09-15 11:37:04 +00:00
Ltest-concurrent.c Regenerate. 2004-05-04 22:19:18 +00:00
Ltest-dyn1.c Regenerate. 2004-05-04 22:19:18 +00:00
Ltest-exc.c Regenerate. 2004-05-04 22:19:18 +00:00
Ltest-init.cxx Regenerate. 2004-05-04 22:19:18 +00:00
Ltest-resume-sig.c Regenerate. 2004-05-04 22:19:18 +00:00
Makefile.am Just a small patch to build system, it helps if you build in a power 2007-08-06 20:23:42 -06:00
Makefile.in Recreate autoconf files. 2007-08-06 20:27:29 -06:00
mapper.c 2007-03-20 Nurdin Premji <npremji@redhat.com> 2007-05-16 13:32:58 -06:00
perf-startup Restore tests/perf-startup. 2006-07-26 14:57:51 -06:00
ppc64-test-altivec-utils.c Add PPC64 support. 2007-08-02 09:59:43 -06:00
ppc64-test-altivec.c Add PPC64 support. 2007-08-02 09:59:43 -06:00
ppc64-test-wchar.c Add PPC64 support. 2007-08-02 09:59:43 -06:00
run-check-namespace Bring git v0.98.5 tree in sync with released v0.98.5. 2006-07-25 21:32:28 -06:00
run-ia64-test-dyn1 Bring git v0.98.5 tree in sync with released v0.98.5. 2006-07-25 21:32:28 -06:00
run-ptrace-mapper Bring git v0.98.5 tree in sync with released v0.98.5. 2006-07-25 21:32:28 -06:00
run-ptrace-misc Bring git v0.98.5 tree in sync with released v0.98.5. 2006-07-25 21:32:28 -06:00
test-async-sig.c * tests/test-async-sig.c: Move "const" definition to separate area to keep 2007-05-16 13:19:46 -06:00
test-flush-cache.c (Logical change 1.96) 2003-09-19 06:56:12 +00:00
test-init-remote.c (do_backtrace): Delete unused variable "pi". 2004-08-19 13:40:08 +00:00
test-mem.c Include <string.h> to get memset() declared. 2005-05-03 09:13:17 +00:00
test-proc-info.c (main): Fix a typo in the argument-checking code. 2005-05-03 09:13:17 +00:00
test-ptrace-misc.c (bar): Fix missing initialization warned on by GCC v4. 2005-05-03 09:13:17 +00:00
test-ptrace.c * tests/test-async-sig.c: Move "const" definition to separate area to keep 2007-05-16 13:19:46 -06:00
test-setjmp.c Add some more debug statements and fix some typos. 2003-09-25 05:08:18 +00:00
test-static-link-gen.c (test_generic): Fix "unused variable" warning. 2004-09-09 13:06:01 +00:00
test-static-link-loc.c (test_local): Use unw_context_t instead of ucontext_t. 2004-05-04 20:13:07 +00:00
test-strerror.c Bring git v0.98.5 tree in sync with released v0.98.5. 2006-07-25 21:32:28 -06:00
test-varargs.c (Logical change 1.21) 2002-11-09 03:59:27 +00:00