Skip to content
Commit 0ff98480 authored by Ke Wu's avatar Ke Wu Committed by Kees Cook
Browse files

security/loadpin: Allow to exclude specific file types



Linux kernel already provide MODULE_SIG and KEXEC_VERIFY_SIG to
make sure loaded kernel module and kernel image are trusted. This
patch adds a kernel command line option "loadpin.exclude" which
allows to exclude specific file types from LoadPin. This is useful
when people want to use different mechanisms to verify module and
kernel image while still use LoadPin to protect the integrity of
other files kernel loads.

Signed-off-by: default avatarKe Wu <mikewu@google.com>
Reviewed-by: default avatarJames Morris <jamorris@linux.microsoft.com>
[kees: fix array size issue reported by Coverity via Colin Ian King]
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
parent cd6c84d8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment