Re: 2.6.10-mm1
From: William Lee Irwin III
Date: Mon Jan 03 2005 - 10:16:36 EST
On Mon, Jan 03, 2005 at 01:11:13AM -0800, Andrew Morton wrote:
> +m32r-fix-not-to-execute-noexec-pages-0-3.patch
This patch appears to be empty. Also, quilt barfs on such things.
The patch as it appeared in broken-out/ is attached.
-- wli
From: Hirokazu Takata <takata@xxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxx>
---
[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@xxxxxxxxxxxxxx>
Linux/M32R Project: http://www.linux-m32r.org/
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---
_