mirror of
https://github.com/genodelabs/genode.git
synced 2025-05-04 17:53:07 +00:00
Work-around of running Genode with PaX enabled
Thanks to Torsten Hilbrich for reporting. Fixes #91.
This commit is contained in:
parent
ec09842fc7
commit
b11bbd30c2
@ -75,3 +75,9 @@ L(pseudo_end):
|
|||||||
|
|
||||||
.cfi_endproc
|
.cfi_endproc
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Allow stacks to be mapped executable (needed because Genode does not
|
||||||
|
* offer an API to handle non-execute mappings yet).
|
||||||
|
*/
|
||||||
|
.section .note.GNU-stack, "", @progbits
|
||||||
|
|
||||||
|
@ -14,3 +14,10 @@
|
|||||||
lx_restore_rt:
|
lx_restore_rt:
|
||||||
movq $SYS_rt_sigreturn, %rax
|
movq $SYS_rt_sigreturn, %rax
|
||||||
syscall
|
syscall
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Allow stacks to be mapped executable (needed because Genode does not
|
||||||
|
* offer an API to handle non-execute mappings yet).
|
||||||
|
*/
|
||||||
|
.section .note.GNU-stack, "", @progbits
|
||||||
|
|
||||||
|
@ -27,3 +27,10 @@ lx_syscall:
|
|||||||
syscall /* Do the system call. */
|
syscall /* Do the system call. */
|
||||||
L(pseudo_end):
|
L(pseudo_end):
|
||||||
ret /* Return to caller. */
|
ret /* Return to caller. */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Allow stacks to be mapped executable (needed because Genode does not
|
||||||
|
* offer an API to handle non-execute mappings yet).
|
||||||
|
*/
|
||||||
|
.section .note.GNU-stack, "", @progbits
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user