[PULL] lkdtm update (next)

From: Kees Cook
Date: Fri Jun 10 2016 - 19:02:58 EST


Hi,

Please pull these lkdtm changes for next.

Thanks!

-Kees

The following changes since commit 3d0f0b6a5520878305589411b8d434fe088e4f21:

Merge branch 'for-linus-4.7' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs (2016-06-10 14:13:27 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/lkdtm-next

for you to fetch changes up to b54845276a969b72daa2dee1afe379847a639478:

lkdtm: split atomic test into over and underflow (2016-06-10 15:57:51 -0700)

----------------------------------------------------------------
Rearranged build to be able to deal with unusual executable sections (i.e.
functions in rodata).

New tests for prior memory protections (EXEC_RODATA), new tests for upcoming
kernel self-protections (USERCOPY_HEAP_SIZE_TO, USERCOPY_HEAP_SIZE_FROM,
USERCOPY_HEAP_FLAG_TO, USERCOPY_HEAP_FLAG_FROM, USERCOPY_STACK_FRAME_TO,
USERCOPY_STACK_FRAME_FROM, USERCOPY_STACK_BEYOND), and updated tests
(ATOMIC_UNDERFLOW, ATOMIC_OVERFLOW).

----------------------------------------------------------------
Kees Cook (5):
lkdtm: split build into multiple source files
lkdtm: clean up after rename
lkdtm: add function for testing .rodata section
lkdtm: add usercopy tests
lkdtm: split atomic test into over and underflow

MAINTAINERS | 2 +-
drivers/misc/Makefile | 10 +
drivers/misc/lkdtm.h | 6 +
drivers/misc/{lkdtm.c => lkdtm_core.c} | 333 +++++++++++++++++++++++++++++++--
drivers/misc/lkdtm_rodata.c | 10 +
5 files changed, 341 insertions(+), 20 deletions(-)
create mode 100644 drivers/misc/lkdtm.h
rename drivers/misc/{lkdtm.c => lkdtm_core.c} (72%)
create mode 100644 drivers/misc/lkdtm_rodata.c

--
Kees Cook
Chrome OS & Brillo Security