[PATCH 2.6.10-rc3-mm1] m32r: Fix not to execute noexec pages (0/3)

From: Hirokazu Takata
Date: Thu Dec 16 2004 - 07:42:38 EST


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)
- Update copyright statement, and so on.

Hirokazu Takata <takata@xxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/