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
---