1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-06-17 07:21:44 +02:00
libunwind-eh_elf/src/x86_64
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
..
Gcreate_addr_space.c (Logical change 1.249) 2004-08-19 13:39:10 +00:00
Gget_proc_info.c (unw_get_proc_info): Don't freak out if dwarf_make_proc_info() fails. 2005-05-03 09:13:17 +00:00
Gget_save_loc.c (Logical change 1.249) 2004-08-19 13:39:10 +00:00
Gglobal.c Adjust for sigset_t to intrmask_t renaming. 2005-05-03 09:13:17 +00:00
Ginit.c Introduce a tdep_get_func_addr_hook() in the ELF lookup_symbol() 2007-08-22 13:02:09 -06:00
Ginit_local.c Drop debug-level for function-trace to 1. 2004-08-26 10:02:46 +00:00
Ginit_remote.c Drop debug-level for function-trace to 1. 2004-08-26 10:02:46 +00:00
Gis_signal_frame.c [x86-64] Add a known good address cache. 2006-08-10 21:30:01 -06:00
Gregs.c (tdep_access_reg): When writing RAX/RDX, update eh_args[] and 2005-05-03 09:13:17 +00:00
Gresume.c Make libunwind pass C++ exceptions correctly 2007-04-05 20:40:41 -06:00
Gstep.c [x86-64] (unw_step): Further refine handling of functions without unwind-info. 2006-07-26 22:06:48 -06:00
init.h Implement a ip -> dwarf_reg_state cache. 2006-07-26 21:18:49 -06:00
is_fpreg.c Include "libunwind_i.h" instead of "tdep.h". 2005-05-20 09:48:08 +00:00
Lcreate_addr_space.c (Logical change 1.249) 2004-08-19 13:39:10 +00:00
Lget_proc_info.c (Logical change 1.249) 2004-08-19 13:39:10 +00:00
Lget_save_loc.c (Logical change 1.249) 2004-08-19 13:39:10 +00:00
Lglobal.c (Logical change 1.249) 2004-08-19 13:39:10 +00:00
Linit.c (Logical change 1.249) 2004-08-19 13:39:10 +00:00
Linit_local.c (Logical change 1.249) 2004-08-19 13:39:10 +00:00
Linit_remote.c (Logical change 1.249) 2004-08-19 13:39:10 +00:00
Lis_signal_frame.c (Logical change 1.249) 2004-08-19 13:39:10 +00:00
longjmp.S Mark Wielaard <mwielaard@redhat.com> writes: 2007-10-01 08:35:01 -06:00
Lregs.c (Logical change 1.249) 2004-08-19 13:39:10 +00:00
Lresume.c (Logical change 1.249) 2004-08-19 13:39:10 +00:00
Lstep.c (Logical change 1.249) 2004-08-19 13:39:10 +00:00
offsets.h [X86-64]: Instead of auto-generating _u_context_i.h, hardcode the 2007-08-06 19:58:12 -06:00
regname.c Fix missing NELEMS -> ARRAY_SIZE adjustment. 2005-05-03 09:13:17 +00:00
setcontext.S Mark Wielaard <mwielaard@redhat.com> writes: 2007-10-01 08:35:01 -06:00
siglongjmp.S Mark Wielaard <mwielaard@redhat.com> writes: 2007-10-01 08:35:01 -06:00
ucontext_i.h (UC_MCONTEXT_{R8-R15,RDI,RSI,RBX,RDX,RAX,RCX}: New macros. 2005-05-03 09:13:17 +00:00
unwind_i.h Include "libunwind_i.h" instead of "tdep.h" and "internal.h". 2005-05-20 09:48:08 +00:00