mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-18 21:27:56 +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
|
||||
|
||||
/*
|
||||
* 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:
|
||||
movq $SYS_rt_sigreturn, %rax
|
||||
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. */
|
||||
L(pseudo_end):
|
||||
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…
Reference in New Issue
Block a user