[PATCH][Jaunty] ARM: Toggle incorrect READ_IMPLIES_EXEC logic

Amit Kucheria amit.kucheria at canonical.com
Thu Apr 23 07:23:21 UTC 2009


SRU justification:

Impact: 
 - Was (incorrectly) setting READ_IMPLIES_EXEC when stack execution was disabled
 - Was (incorrectly) setting READ_IMPLIES_EXEC for ARMv6 processors. They
   support the XN bit.

Fix: Toggle the incorrect logic in arm_elf_read_implies_exec()

Testcase: /proc/self/personality should not have READ_IMPLIES_EXEC on iMX51

Makito SHIOKAWA (1):
  UBUNTU: [ARM] 5404/1: Fix condition in arm_elf_read_implies_exec() to
    set READ_IMPLIES_EXEC

 arch/arm/kernel/elf.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)





More information about the kernel-team mailing list