[GIT PULL] lkdtm fixes for next
From: Kees Cook
Date: Thu May 09 2019 - 13:20:55 EST
Hi Greg,
Please pull these lkdtm fixes for next. If possible, it'd be nice to get
these into v5.2 (they're small fixes), but I'm fine if they have to wait.
I meant to send these earlier, but got distracted by other things.
Thanks!
-Kees
The following changes since commit 8c2ffd9174779014c3fe1f96d9dc3641d9175f00:
Linux 5.1-rc2 (2019-03-24 14:02:26 -0700)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/lkdtm-next
for you to fetch changes up to 24cccab42c4199c6daa0a6981e6f6a1ffb0b5a09:
lkdtm/bugs: Adjust recursion test to avoid elision (2019-04-07 10:38:31 -0700)
----------------------------------------------------------------
lkdtm: various fixes
- Move KERNEL_DS test to non-canonical range
- Make stack exhaustion test more robust
----------------------------------------------------------------
Kees Cook (2):
lkdtm/usercopy: Moves the KERNEL_DS test to non-canonical
lkdtm/bugs: Adjust recursion test to avoid elision
drivers/misc/lkdtm/bugs.c | 23 +++++++++++++++++------
drivers/misc/lkdtm/core.c | 6 +++---
drivers/misc/lkdtm/lkdtm.h | 2 +-
drivers/misc/lkdtm/usercopy.c | 10 ++++++----
4 files changed, 27 insertions(+), 14 deletions(-)
--
Kees Cook