Re: [PATCH v4 6/6] LSM: LoadPin for kernel file loading restrictions

2016-04-12 Thread Serge E. Hallyn
Quoting Kees Cook (keesc...@chromium.org): > This LSM enforces that kernel-loaded files (modules, firmware, etc) > must all come from the same filesystem, with the expectation that > such a filesystem is backed by a read-only device such as dm-verity > or CDROM. This allows systems that have a veri

[PATCH v4 6/6] LSM: LoadPin for kernel file loading restrictions

2016-04-12 Thread Kees Cook
This LSM enforces that kernel-loaded files (modules, firmware, etc) must all come from the same filesystem, with the expectation that such a filesystem is backed by a read-only device such as dm-verity or CDROM. This allows systems that have a verified and/or unchangeable filesystem to enforce modu