Skip to contentSkip to conversation

READ_IMPLIES_EXEC cleanup for -tip next

GIT PULL Kees Cook 1 participant 1 message Mar 3, 2020

lore
Share & tools
lore

Kees Cook

author
#0 lore raw

Hi Thomas,

Please pull these READ_IMPLIES_EXEC cleanups. They've got Acks, and have been sitting without further commented since v4:
https://lore.kernel.org/lkml/[email protected]/#r
Catalin specifically asked me during Plumbers if I could get this series refreshed and finalized, so here we are! :) I'd wanted to keep these all together so per-arch RIE special cases were changed at the same time.

Thanks!

-Kees

The following changes since commit 11a48a5a18c63fd7621bb050228cebf13566e4d8:

Linux 5.6-rc2 (2020-02-16 13:16:59 -0800)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/rie-cleanup-next

for you to fetch changes up to 631551ed971466e4a7ea0b6b11a4ddf2b80513d3:

arm64, elf: Disable automatic READ_IMPLIES_EXEC for 64-bit address spaces (2020-02-24 21:00:51 -0800)

----------------------------------------------------------------
READ_IMPLIES_EXEC cleanups

- Fix READ_IMPLIES_EXEC across x86, arm64, and arm

----------------------------------------------------------------
Kees Cook (6):
x86/elf: Add table to document READ_IMPLIES_EXEC
x86/elf: Split READ_IMPLIES_EXEC from executable GNU_STACK x86/elf: Disable automatic READ_IMPLIES_EXEC for 64-bit address spaces arm32/64, elf: Add tables to document READ_IMPLIES_EXEC arm32/64, elf: Split READ_IMPLIES_EXEC from executable GNU_STACK arm64, elf: Disable automatic READ_IMPLIES_EXEC for 64-bit address spaces

 arch/arm/kernel/elf.c        | 27 +++++++++++++++++++++++----
 arch/arm64/include/asm/elf.h | 23 ++++++++++++++++++++++-
 arch/x86/include/asm/elf.h   | 22 +++++++++++++++++++++-
 fs/compat_binfmt_elf.c       |  5 +++++
 4 files changed, 71 insertions(+), 6 deletions(-)
Signature · 1 line
Kees Cook