* [GIT PULL] Make /dev/mem CONFIG_STRICT_DEVMEM=y the default on x86 and arm64
@ 2018-01-29 9:51 Ingo Molnar
0 siblings, 0 replies; only message in thread
From: Ingo Molnar @ 2018-01-29 9:51 UTC (permalink / raw)
To: Linus Torvalds
Cc: linux-kernel, Thomas Gleixner, Peter Zijlstra, Andrew Morton
Linus,
Please pull the latest core-debug-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-debug-for-linus
# HEAD: 0f7cda2b824bb2afe0d75716a8664117fa03f5e0 Kconfig: Make STRICT_DEVMEM default-y on x86 and arm64
Make CONFIG_STRICT_DEVMEM default-y on x86 and arm64 as well, to follow the
distro status quo.
Thanks,
Ingo
------------------>
Kees Cook (1):
Kconfig: Make STRICT_DEVMEM default-y on x86 and arm64
lib/Kconfig.debug | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 947d3e2ed5c2..39b123d04a36 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -1985,7 +1985,7 @@ config STRICT_DEVMEM
bool "Filter access to /dev/mem"
depends on MMU && DEVMEM
depends on ARCH_HAS_DEVMEM_IS_ALLOWED
- default y if TILE || PPC
+ default y if TILE || PPC || X86 || ARM64
---help---
If this option is disabled, you allow userspace (root) access to all
of memory, including kernel and userspace memory. Accidental
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-01-29 9:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-29 9:51 [GIT PULL] Make /dev/mem CONFIG_STRICT_DEVMEM=y the default on x86 and arm64 Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox