[GIT PULL] usercopy updates for v4.12-rc1
From: Kees Cook
Date: Mon May 01 2017 - 14:35:14 EST
Hi,
Please pull these hardened usercopy updates for v4.12-rc1.
Thanks!
-Kees
The following changes since commit 4495c08e84729385774601b5146d51d9e5849f81:
Linux 4.11-rc2 (2017-03-12 14:47:08 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/usercopy-v4.12-rc1
for you to fetch changes up to 517e1fbeb65f5eade8d14f46ac365db6c75aea9b:
mm/usercopy: Drop extra is_vmalloc_or_module() check (2017-04-05 12:30:18 -0700)
----------------------------------------------------------------
A couple hardened usercopy changes:
- drop now unneeded is_vmalloc_or_module() check; Laura Abbott
- use enum instead of literals for stack frame API; Sahara
----------------------------------------------------------------
Laura Abbott (1):
mm/usercopy: Drop extra is_vmalloc_or_module() check
Sahara (1):
usercopy: Move enum for arch_within_stack_frames()
arch/x86/include/asm/thread_info.h | 13 +++++++------
include/linux/thread_info.h | 12 ++++++++++++
mm/usercopy.c | 19 +------------------
3 files changed, 20 insertions(+), 24 deletions(-)
--
Kees Cook
Pixel Security