Re: [PATCH V34 20/29] x86/mmiotrace: Lock down the testmmiotrace module

2019-06-23 Thread Thomas Gleixner
On Fri, 21 Jun 2019, Matthew Garrett wrote: > From: David Howells > > The testmmiotrace module shouldn't be permitted when the kernel is locked > down as it can be used to arbitrarily read and write MMIO space. This is > a runtime check rather than buildtime in order to allow configurations

Re: [PATCH V34 20/29] x86/mmiotrace: Lock down the testmmiotrace module

2019-06-22 Thread Kees Cook
On Fri, Jun 21, 2019 at 05:03:49PM -0700, Matthew Garrett wrote: > From: David Howells > > The testmmiotrace module shouldn't be permitted when the kernel is locked > down as it can be used to arbitrarily read and write MMIO space. This is > a runtime check rather than buildtime in order to

[PATCH V34 20/29] x86/mmiotrace: Lock down the testmmiotrace module

2019-06-21 Thread Matthew Garrett
From: David Howells The testmmiotrace module shouldn't be permitted when the kernel is locked down as it can be used to arbitrarily read and write MMIO space. This is a runtime check rather than buildtime in order to allow configurations where the same kernel may be run in both locked down or