1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-06-16 23:11:44 +02:00
libunwind-eh_elf/src/hppa
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 Revert "Initial revision" 2006-07-26 14:47:44 -06:00
get_accessors.c Rename: src/hppa/get_accessors-hppa.c -> src/hppa/get_accessors.c 2004-08-17 15:34:28 +00:00
getcontext.S Mark Wielaard <mwielaard@redhat.com> writes: 2007-10-01 08:35:01 -06:00
Gget_proc_info.c (unw_get_proc_info): Implement it based on dwarf_make_proc_info(). 2005-05-03 09:13:17 +00:00
Gget_save_loc.c Revert "Initial revision" 2006-07-26 14:47:44 -06:00
Gglobal.c Revert "Initial revision" 2006-07-26 14:47:44 -06: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 (unw_init_local): Implement it based on the DWARF unwinder. 2005-05-03 09:13:17 +00:00
Ginit_remote.c Revert "Initial revision" 2006-07-26 14:47:44 -06:00
Gis_signal_frame.c Revert "Initial revision" 2006-07-26 14:53:49 -06:00
Gregs.c (tdep_access_reg): Handle UNW_HPPA_IP, UNW_HPPA_CFA, UNW_HPPA_SP, 2005-05-03 09:13:17 +00:00
Gresume.c Revert "Initial revision" 2006-07-26 14:53:49 -06:00
Gstep.c Add include of "offsets.h". 2005-05-03 09:13:17 +00:00
init.h Bring git v0.98.5 tree in sync with released v0.98.5. 2006-07-25 21:32:28 -06:00
Lcreate_addr_space.c Revert "Initial revision" 2006-07-26 14:47:44 -06:00
Lget_proc_info.c Regenerate. 2004-08-17 15:34:28 +00:00
Lget_save_loc.c Revert "Initial revision" 2006-07-26 14:47:44 -06:00
Lglobal.c Revert "Initial revision" 2006-07-26 14:47:44 -06:00
Linit.c Regenerate. 2004-08-17 15:34:28 +00:00
Linit_local.c Regenerate. 2004-08-17 15:34:28 +00:00
Linit_remote.c Revert "Initial revision" 2006-07-26 14:47:44 -06:00
Lis_signal_frame.c Revert "Initial revision" 2006-07-26 14:47:44 -06:00
Lregs.c Regenerate. 2004-08-17 15:34:28 +00:00
Lresume.c Revert "Initial revision" 2006-07-26 14:47:44 -06:00
Lstep.c Regenerate. 2004-08-17 15:34:28 +00:00
offsets.h Revert "Initial revision" 2006-07-26 14:53:49 -06:00
regname.c Revert "Initial revision" 2006-07-26 14:53:49 -06: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
tables.c Rename: src/hppa/tables-hppa.c -> src/hppa/tables.c 2004-08-17 15:34:28 +00:00
unwind_i.h Include "libunwind_i.h" instead of "internal.h" and "tdep.h". 2005-05-20 09:48:08 +00:00