Re: [PATCH v2] Allow to exclude specific file types in LoadPin

2019-05-30 Thread Ke Wu
Thanks for pushing the patch! On Thu, May 30, 2019 at 7:23 PM Kees Cook wrote: > > On Fri, May 31, 2019 at 06:11:44AM +1000, James Morris wrote: > > On Thu, 30 May 2019, Ke Wu wrote: > > > > > Linux kernel already provide MODULE_SIG and KEXEC_VERIFY_SIG to > > > make sure loaded kernel module an

Re: [PATCH v2] Allow to exclude specific file types in LoadPin

2019-05-30 Thread Kees Cook
On Fri, May 31, 2019 at 06:11:44AM +1000, James Morris wrote: > On Thu, 30 May 2019, Ke Wu wrote: > > > 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

Re: [PATCH v2] Allow to exclude specific file types in LoadPin

2019-05-30 Thread James Morris
On Thu, 30 May 2019, Kees Cook wrote: > On Thu, May 30, 2019 at 12:22:08PM -0700, Ke Wu wrote: > > 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" whi

Re: [PATCH v2] Allow to exclude specific file types in LoadPin

2019-05-30 Thread Kees Cook
On Thu, May 30, 2019 at 12:22:08PM -0700, Ke Wu wrote: > 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

Re: [PATCH v2] Allow to exclude specific file types in LoadPin

2019-05-30 Thread James Morris
On Thu, 30 May 2019, Ke Wu wrote: > 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 us

[PATCH v2] Allow to exclude specific file types in LoadPin

2019-05-30 Thread Ke Wu
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 mech