search for: 02aba9c5

Displaying 1 result from an estimated 1 matches for "02aba9c5".

Did you mean: 02ab7985
2020 Jul 25
0
[klibc:execstack-fixes] alpha: Set sa_restorer for signals and disable executable stack
...1c0000000 -# Kernel uses stack trampoline for signal return unless we set -# sa_restorer -KLIBCEXECSTACK := y +# Kernel uses our sa_restorer for signal return +KLIBCEXECSTACK := n diff --git a/usr/klibc/arch/alpha/sigreturn.S b/usr/klibc/arch/alpha/sigreturn.S new file mode 100644 index 00000000..02aba9c5 --- /dev/null +++ b/usr/klibc/arch/alpha/sigreturn.S @@ -0,0 +1,16 @@ +/* + * arch/alpha/sigreturn.S + */ + +#include <asm/unistd.h> + + .text + .align 3 + .type __sigreturn, at function + .ent __syscall_common,0 + .globl __sigreturn +__sigreturn: + mov sp,a0 ; struct sigcontext on stack +...