summaryrefslogtreecommitdiffstats
path: root/security/apparmor/path.c
diff options
context:
space:
mode:
authorKe Wu2019-05-30 21:22:08 +0200
committerKees Cook2019-05-31 22:57:40 +0200
commit0ff9848067b7b950a4ed70de7f5028600a2157e3 (patch)
tree9ba238f99bca8f5de00e105244c3fd74ec46632c /security/apparmor/path.c
parentLinux 5.2-rc2 (diff)
downloadkernel-qcow2-linux-0ff9848067b7b950a4ed70de7f5028600a2157e3.tar.gz
kernel-qcow2-linux-0ff9848067b7b950a4ed70de7f5028600a2157e3.tar.xz
kernel-qcow2-linux-0ff9848067b7b950a4ed70de7f5028600a2157e3.zip
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: 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>
Diffstat (limited to 'security/apparmor/path.c')
0 files changed, 0 insertions, 0 deletions