History log of /external/libunwind/src/ia64/sigsetjmp.S
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
57e569646368cb730f028ecf1732143474e3e642 01-Oct-2007 Jan Kratochvil <jan.kratochvil@redhat.com> 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.
/external/libunwind/src/ia64/sigsetjmp.S
22ac4c078fb47edb47ae5efd70184050a289537d 13-Oct-2004 hp.com!davidm <hp.com!davidm> (__sigsetjmp): Start updating jmp_buf only after sigprocmask() returned
successfully. This avoids a failure in ia64-test-setjmp which
was due to the fact that sigprocmask() caused a segfault (due to
overflowing the stack) and at that point we had a partially updated
jmp_buf.

(Logical change 1.272)
/external/libunwind/src/ia64/sigsetjmp.S
d7418c600fef62552425e5d3a71b82b9df628730 31-Aug-2004 hp.com!davidm <hp.com!davidm> (__sigsetjmp): Use macros from "jmpbuf.h" instead of hardcoded values.

(Logical change 1.259)
/external/libunwind/src/ia64/sigsetjmp.S
c38b0834335d299cf01de4f8142baff026e381fe 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Rename: src/ia64/sigsetjmp-ia64.S.S -> src/ia64/sigsetjmp.S

(Logical change 1.241)
/external/libunwind/src/ia64/sigsetjmp.S
3f9d2e9c5c1cfde324c08204259b65f74b2746a1 17-Aug-2004 homeip.net!davidm <homeip.net!davidm> Initial revision
/external/libunwind/src/ia64/sigsetjmp.S