lkdtm: add function for testing .rodata section
This adds a function that lives in the .rodata section. The section
flags are corrected using objcopy since there is no way with gcc to
declare section flags in an architecture-agnostic way.
Signed-off-by: Kees Cook <keescook@chromium.org>
Showing
drivers/misc/lkdtm.h
0 → 100644
drivers/misc/lkdtm_rodata.c
0 → 100644
Please register or sign in to comment