[GIT PULL] usercopy fixes for v4.8-rc6-part2

From: Kees Cook
Date: Wed Sep 07 2016 - 14:36:53 EST


Hi,

Please pull these usercopy fixes for v4.8-rc6-part2.

Thanks!

-Kees

The following changes since commit ab29b33a84f6910ebf01a32f69a370886a4283dd:

Merge tag 'seccomp-v4.8-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux (2016-09-07 10:46:06 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/usercopy-v4.8-rc6-part2

for you to fetch changes up to 8e1f74ea02cf4562404c48c6882214821552c13f:

usercopy: remove page-spanning test for now (2016-09-07 11:33:26 -0700)

----------------------------------------------------------------
- force check_object_size() to be inline too
- move page-spanning check behind a CONFIG since it's triggering false positives

----------------------------------------------------------------
Kees Cook (2):
usercopy: force check_object_size() inline
usercopy: remove page-spanning test for now

include/linux/thread_info.h | 4 +--
mm/usercopy.c | 61 ++++++++++++++++++++++++++-------------------
security/Kconfig | 11 ++++++++
3 files changed, 48 insertions(+), 28 deletions(-)

--
Kees Cook
Nexus Security