diff options
author | Kees Cook <keescook@chromium.org> | 2016-06-27 07:45:23 +0300 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2016-07-07 21:09:22 +0300 |
commit | ffc514f3fcac4aa76735ada55228c814153943e6 (patch) | |
tree | 15dd5a13d7a068dca8671751170768e603e9d633 /drivers/misc/lkdtm.h | |
parent | 0d9eb29b13f0e326c4e19b85d3a4ac46e335e6d2 (diff) | |
download | linux-ffc514f3fcac4aa76735ada55228c814153943e6.tar.xz |
lkdtm: split heap corruption tests to separate file
This splits the *_AFTER_FREE and related tests into the new lkdtm_heap.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 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/misc/lkdtm.h b/drivers/misc/lkdtm.h index 40f681cd6efe..9397360a2b11 100644 --- a/drivers/misc/lkdtm.h +++ b/drivers/misc/lkdtm.h @@ -1,6 +1,13 @@ #ifndef __LKDTM_H #define __LKDTM_H +/* lkdtm_heap.c */ +void lkdtm_OVERWRITE_ALLOCATION(void); +void lkdtm_WRITE_AFTER_FREE(void); +void lkdtm_READ_AFTER_FREE(void); +void lkdtm_WRITE_BUDDY_AFTER_FREE(void); +void lkdtm_READ_BUDDY_AFTER_FREE(void); + /* lkdtm_perms.c */ void __init lkdtm_perms_init(void); void lkdtm_WRITE_RO(void); |