diff options
author | Kees Cook <keescook@chromium.org> | 2016-06-26 15:46:23 (GMT) |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2016-07-07 18:09:20 (GMT) |
commit | a3dff71c1c88fc184a1ae5e425ba621d547d16ec (patch) | |
tree | 7d6fe391cedf8905280eb9038844bba06276142d /drivers/misc/lkdtm.h | |
parent | 0edca7b5afb4b0909eecd2ede9a6736ef7cafc42 (diff) | |
download | linux-a3dff71c1c88fc184a1ae5e425ba621d547d16ec.tar.xz |
lkdtm: split usercopy tests to separate file
This splits the USERCOPY_* tests into the new lkdtm_usercopy.c file to
help separate things better for readability.
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'drivers/misc/lkdtm.h')
-rw-r--r-- | drivers/misc/lkdtm.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/misc/lkdtm.h b/drivers/misc/lkdtm.h index 9531fa3..ef290a2 100644 --- a/drivers/misc/lkdtm.h +++ b/drivers/misc/lkdtm.h @@ -1,6 +1,19 @@ #ifndef __LKDTM_H #define __LKDTM_H +/* lkdtm_rodata.c */ void lkdtm_rodata_do_nothing(void); +/* lkdtm_usercopy.c */ +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_STACK_FRAME_TO(void); +void lkdtm_USERCOPY_STACK_FRAME_FROM(void); +void lkdtm_USERCOPY_STACK_BEYOND(void); +void lkdtm_USERCOPY_KERNEL(void); + #endif |