arm32/64/elf: Add tables to document READ_IMPLIES_EXEC
authorKees Cook <keescook@chromium.org>
Fri, 27 Mar 2020 06:48:18 +0000 (23:48 -0700)
committerBorislav Petkov <bp@suse.de>
Mon, 20 Apr 2020 17:41:50 +0000 (19:41 +0200)
commit78066055b08096ed3282c027de9d9e137f9a1580
treef50e2231832938057a6d1203e8dacb5326281c9a
parent9fccc5c0c99f238aa1b0460fccbdb30a887e7036
arm32/64/elf: Add tables to document READ_IMPLIES_EXEC

Add tables to document the current behavior of READ_IMPLIES_EXEC in
preparation for changing the behavior for both arm64 and arm.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lkml.kernel.org/r/20200327064820.12602-5-keescook@chromium.org
arch/arm/kernel/elf.c
arch/arm64/include/asm/elf.h