2016-10-10 05:35:13

by Dave Young

[permalink] [raw]
Subject: [PATCH v2] Move CONFIG_DEVKMEM default to n

Kconfig comment suggests setting it as "n" if in doubt thus move the
default value to 'n'.

Signed-off-by: Dave Young <[email protected]>
Suggested-by: Kees Cook <[email protected]>
---
Greg: drop the "default" line will set the default as n
drivers/char/Kconfig | 1 -
1 file changed, 1 deletion(-)

--- linux-x86.orig/drivers/char/Kconfig
+++ linux-x86/drivers/char/Kconfig
@@ -17,7 +17,6 @@ config DEVMEM

config DEVKMEM
bool "/dev/kmem virtual device support"
- default y
help
Say Y here if you want to support the /dev/kmem device. The
/dev/kmem device is rarely used, but can be used for certain