summaryrefslogtreecommitdiffstats
path: root/drivers/misc/lkdtm_perms.c
Commit message (Collapse)AuthorAgeFilesLines
* lkdtm: silence warnings about function declarationsKees Cook2016-07-161-5/+1Star
| | | | | | | | | When building under W=1, the lack of lkdtm.h in lkdtm_usercopy.c and lkdtm_rodata.c was discovered. This fixes the issue and consolidates the common header and the pr_fmt macro for simplicity and regularity across each test source file. Signed-off-by: Kees Cook <keescook@chromium.org>
* lkdtm: split memory permissions tests to separate fileKees Cook2016-07-071-0/+203
This splits the EXEC_*, WRITE_* and related tests into the new lkdtm_perms.c file to help separate things better for readability. Signed-off-by: Kees Cook <keescook@chromium.org>