lkdtm: split build into multiple source files
authorKees Cook <keescook@chromium.org>
Mon, 22 Feb 2016 22:05:44 +0000 (14:05 -0800)
committerKees Cook <keescook@chromium.org>
Fri, 10 Jun 2016 22:57:48 +0000 (15:57 -0700)
commit9e197e2f894c0270ffabd314d73c7730b09ac63c
tree5f5b14a533d9b472121152d796a7dc856a9f7372
parent3d0f0b6a5520878305589411b8d434fe088e4f21
lkdtm: split build into multiple source files

Kbuild lacks a way to do in-place objcopy or other modifications of
built targets, so in order to move functions into non-text sections
without renaming the kernel module, the build of lkdtm must be split
into separate source files. This renames lkdtm.c to lkdtm_core.c in
preparation for adding the source file for the .rodata section.

Signed-off-by: Kees Cook <keescook@chromium.org>
drivers/misc/Makefile
drivers/misc/lkdtm.c [deleted file]
drivers/misc/lkdtm_core.c [new file with mode: 0644]