Skip to content
Commit ab72b007 authored by Russell King's avatar Russell King
Browse files

ARM: Fix signal restart issues with NX and OABI compat



The signal restarting code was placed on the user stack when OABI
compatibility is enabled.  Unfortunately, with an EABI NX executable,
this results in an attempt to run code from the non-executable stack,
which segfaults the application.

Fix this by placing the code in the vectors page, along side the
signal return code, and directing the application to that code.

Reported-by: default avatarsaeed bishara <saeed.bishara@gmail.com>
Tested-by: default avatarsaeed bishara <saeed.bishara@gmail.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 09963911
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment