lkdtm: Do not depend on BLOCK and clean up headers
authorKees Cook <keescook@chromium.org>
Tue, 27 Nov 2018 17:11:15 +0000 (09:11 -0800)
committerKees Cook <keescook@chromium.org>
Wed, 9 Jan 2019 19:58:51 +0000 (11:58 -0800)
commita77d087fd566f576da1f5b8726dd9d9f0f164e1f
tree306819c1fbd003497f00704972f50fba75749b59
parentbfeffd155283772bbe78c6a05dec7c0128ee500c
lkdtm: Do not depend on BLOCK and clean up headers

After the transition to kprobes, symbols are resolved at runtime. This
means there is no need to have all the Kconfig and header logic to
avoid build failures. This also paves the way to having arbitrary test
locations.

Reported-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Kees Cook <keescook@chromium.org>
drivers/misc/lkdtm/core.c
lib/Kconfig.debug