]> asedeno.scripts.mit.edu Git - linux.git/commit
lkdtm: Update usercopy tests for whitelisting
authorKees Cook <keescook@chromium.org>
Thu, 15 Jun 2017 01:56:55 +0000 (18:56 -0700)
committerKees Cook <keescook@chromium.org>
Mon, 15 Jan 2018 20:08:09 +0000 (12:08 -0800)
commite47e311843dece8073146f3606871280ee9beb87
treea38d9b6a768e9d78a4611e604e805dd5ff390572
parent6d07d1cd300f4c7e16005f881fea388164999cc8
lkdtm: Update usercopy tests for whitelisting

This updates the USERCOPY_HEAP_FLAG_* tests to USERCOPY_HEAP_WHITELIST_*,
since the final form of usercopy whitelisting ended up using an offset/size
window instead of the earlier proposed allocation flags.

Signed-off-by: Kees Cook <keescook@chromium.org>
drivers/misc/lkdtm.h
drivers/misc/lkdtm_core.c
drivers/misc/lkdtm_usercopy.c