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

Tim Gardner tim.gardner at canonical.com
Thu Apr 23 16:00:33 UTC 2009


Amit Kucheria wrote:
> 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(-)
> 
> 

ACK

-- 
Tim Gardner tim.gardner at canonical.com




More information about the kernel-team mailing list