[PATCH v2 0/2] /proc/kcore: Fix SMAP violation when dumping vsyscall user page
From: Jia Zhang
Date: Mon Feb 12 2018 - 09:45:09 EST
This patchset was validated with the combinations of pti=on/off and vsyscall=native/emulate/none.
In addition, CONFIG_HARDENED_USERCOPY is always enabled.
v2:
- Use { } around kclist_add() when there's more than 1 line code
Jia Zhang (2):
/proc/kcore: Fix SMAP violation when dumping vsyscall user page
x86/mm/64: Add vsyscall page to /proc/kcore conditionally
arch/x86/mm/init_64.c | 6 ++++--
fs/proc/kcore.c | 4 ++++
include/linux/kcore.h | 1 +
3 files changed, 9 insertions(+), 2 deletions(-)