Messages in this thread | | | Date | Thu, 16 Dec 2004 21:41:00 +0900 (JST) | Subject | [PATCH 2.6.10-rc3-mm1] m32r: Fix not to execute noexec pages (0/3) | From | Hirokazu Takata <> |
| |
Hello,
Here is a patchset to fix a bug of m32r kernel 2.6.9 that a code on a noexec page can be executed incorrectly.
For good security, stack region should be non-executable. This fix is also needed to achieve non-executable stack.
Please apply this to 2.6.10 kernel if possible.
Thank you.
Signed-off-by: Hirokazu Takata <takata@linux-m32r.org> ---
[PATCH 2.6.10-rc3-mm1] m32r: Cause SIGSEGV for nonexec page execution (1/3) - Cause a segmentation fault for an illegal execution of a code on non-executable memory page.
[PATCH 2.6.10-rc3-mm1] m32r: Don't encode ACE_INSTRUCTION in address (2/3) - To be more comprehensive, keep ACE_INSTRUCTION (access exception on instruction execution) information in thread_info->flags, instead of encoding it into address parameter.
[PATCH 2.6.10-rc3-mm1] m32r: Clean up arch/m32r/mm/fault.c (3/3) - Fix a typo: ACE_USEMODE --> ACE_USERMODE. - Update copyright statement, and so on.
-- Hirokazu Takata <takata@linux-m32r.org> Linux/M32R Project: http://www.linux-m32r.org/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |