mirror of https://gitee.com/openkylin/linux.git
0ff9848067
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: Ke Wu <mikewu@google.com> Reviewed-by: James Morris <jamorris@linux.microsoft.com> [kees: fix array size issue reported by Coverity via Colin Ian King] Signed-off-by: Kees Cook <keescook@chromium.org> |
||
---|---|---|
.. | ||
LoadPin.rst | ||
SELinux.rst | ||
SafeSetID.rst | ||
Smack.rst | ||
Yama.rst | ||
apparmor.rst | ||
index.rst | ||
tomoyo.rst |