lkdtm: add tests for additional page permissions
authorKees Cook <keescook@chromium.org>
Thu, 24 Oct 2013 16:25:57 +0000 (09:25 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Oct 2013 23:13:39 +0000 (16:13 -0700)
commit9ae113ce5faf1c74af1ee71b5ef7d04b6b06b063
treec7f16f731cc9c04f6cc33ff2afd17e662de3088e
parent7d196ac303652588c60350f0a581d71e2e7b1a50
lkdtm: add tests for additional page permissions

Testing execution and access of userspace from the kernel is needed for
validating things like Intel's SMEP and SMAP protections. Additionally,
add an explicit test for validating that RO page permissions have been
set for the RO data area.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/lkdtm.c