[PULL] lkdtm update (next)

From: Kees Cook
Date: Thu Jul 07 2016 - 14:14:50 EST


Hi,

Please pull these lkdtm changes for next.

Thanks!

-Kees

The following changes since commit e2402b1d214e5d50e807773563d590115a161f45:

nvmem: imx-ocotp: Fix assignment warning. (2016-06-25 07:42:55 -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 c479e3fd88703c4b1049d7102a3fa8c6b3affef5:

lkdtm: use struct arrays instead of enums (2016-07-07 11:09:27 -0700)

----------------------------------------------------------------
refactoring for multiple source files and better layout

----------------------------------------------------------------
Kees Cook (12):
lkdtm: add usercopy test for blocking kernel text
lkdtm: drop "alloc_size" parameter
lkdtm: split usercopy tests to separate file
lkdtm: split memory permissions tests to separate file
lkdtm: split heap corruption tests to separate file
lkdtm: split remaining logic bug tests to separate file
lkdtm: remove intentional off-by-one array access
lkdtm: rename "count" to "crash_count"
lkdtm: rename globals for clarity
lkdtm: reorganize module paramaters
lkdtm: move jprobe entry points to start of source
lkdtm: use struct arrays instead of enums

drivers/misc/Makefile | 4 +
drivers/misc/lkdtm.h | 51 ++
drivers/misc/lkdtm_bugs.c | 152 +++++
drivers/misc/lkdtm_core.c | 1246 ++++++++---------------------------------
drivers/misc/lkdtm_heap.c | 146 +++++
drivers/misc/lkdtm_perms.c | 203 +++++++
drivers/misc/lkdtm_usercopy.c | 315 +++++++++++
7 files changed, 1106 insertions(+), 1011 deletions(-)
create mode 100644 drivers/misc/lkdtm_bugs.c
create mode 100644 drivers/misc/lkdtm_heap.c
create mode 100644 drivers/misc/lkdtm_perms.c
create mode 100644 drivers/misc/lkdtm_usercopy.c

--
Kees Cook
Chrome OS & Brillo Security