diff options
author | Kees Cook <keescook@chromium.org> | 2017-06-14 18:56:55 -0700 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2018-01-15 12:08:09 -0800 |
commit | e47e311843dece8073146f3606871280ee9beb87 (patch) | |
tree | a38d9b6a768e9d78a4611e604e805dd5ff390572 /drivers/misc/lkdtm.h | |
parent | 6d07d1cd300f4c7e16005f881fea388164999cc8 (diff) | |
download | op-kernel-dev-e47e311843dece8073146f3606871280ee9beb87.zip op-kernel-dev-e47e311843dece8073146f3606871280ee9beb87.tar.gz |
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>
Diffstat (limited to 'drivers/misc/lkdtm.h')
-rw-r--r-- | drivers/misc/lkdtm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/lkdtm.h b/drivers/misc/lkdtm.h index 687a0db..9e513dc 100644 --- a/drivers/misc/lkdtm.h +++ b/drivers/misc/lkdtm.h @@ -76,8 +76,8 @@ void __init lkdtm_usercopy_init(void); void __exit lkdtm_usercopy_exit(void); void lkdtm_USERCOPY_HEAP_SIZE_TO(void); void lkdtm_USERCOPY_HEAP_SIZE_FROM(void); -void lkdtm_USERCOPY_HEAP_FLAG_TO(void); -void lkdtm_USERCOPY_HEAP_FLAG_FROM(void); +void lkdtm_USERCOPY_HEAP_WHITELIST_TO(void); +void lkdtm_USERCOPY_HEAP_WHITELIST_FROM(void); void lkdtm_USERCOPY_STACK_FRAME_TO(void); void lkdtm_USERCOPY_STACK_FRAME_FROM(void); void lkdtm_USERCOPY_STACK_BEYOND(void); |