Re: [PATCH V33 21/30] x86/mmiotrace: Lock down the testmmiotrace module
From: Steven Rostedt <rostedt@goodmis.org>
Date: 2019-06-26 12:46:23
Also in:
lkml
From: Steven Rostedt <rostedt@goodmis.org>
Date: 2019-06-26 12:46:23
Also in:
lkml
On Thu, 20 Jun 2019 18:19:32 -0700 Matthew Garrett [off-list ref] wrote:
From: David Howells <dhowells@redhat.com> 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 permissive modes depending on local policy. Suggested-by: Thomas Gleixner <redacted> Signed-off-by: David Howells <dhowells@redhat.com Signed-off-by: Matthew Garrett <redacted> cc: Thomas Gleixner <redacted>
Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org> -- Steve
cc: Ingo Molnar <mingo@kernel.org> cc: "H. Peter Anvin" <hpa@zytor.com> cc: x86@kernel.org ---