Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1365716
| From | Joe Perches <joe@perches.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 5/5] LSM: LoadPin for kernel file loading restrictions |
| Date | 2016-03-29 01:30 +0200 |
| Message-ID | <rhOLE-5QE-3@gated-at.bofh.it> (permalink) |
| References | <rhMJQ-4ie-15@gated-at.bofh.it> <rhMJR-4ie-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, 2016-03-28 at 14:14 -0700, Kees Cook wrote: > 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 module and firmware loading restrictions without > needing to sign the files individually. trivia: > diff --git a/security/loadpin/loadpin.c b/security/loadpin/loadpin.c [] > +#define pr_fmt(fmt) "LoadPin: " fmt Using #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt would be a lot more common. Is there some reason the logging messages should be prefixed with "LoadPin: " instead of "loadpin: "?
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2 5/5] LSM: LoadPin for kernel file loading restrictions Kees Cook <keescook@chromium.org> - 2016-03-28 23:20 +0200
Re: [PATCH v2 5/5] LSM: LoadPin for kernel file loading restrictions Andrew Morton <akpm@linux-foundation.org> - 2016-03-28 23:40 +0200
Re: [PATCH v2 5/5] LSM: LoadPin for kernel file loading restrictions Kees Cook <keescook@chromium.org> - 2016-03-29 00:00 +0200
Re: [PATCH v2 5/5] LSM: LoadPin for kernel file loading restrictions Mimi Zohar <zohar@linux.vnet.ibm.com> - 2016-03-30 22:30 +0200
Re: [PATCH v2 5/5] LSM: LoadPin for kernel file loading restrictions Joe Perches <joe@perches.com> - 2016-03-29 01:30 +0200
Re: [PATCH v2 5/5] LSM: LoadPin for kernel file loading restrictions Mimi Zohar <zohar@linux.vnet.ibm.com> - 2016-03-31 23:30 +0200
csiph-web