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

Colin Ian King colin.king at canonical.com
Thu Apr 23 16:23:39 UTC 2009


ACK, looks sane

On Thu, 2009-04-23 at 10:23 +0300, 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(-)
> 
> 
-- 
Colin King   <colin.king at canonical.com>
"Me transmitte sursum, caledoni" 





More information about the kernel-team mailing list