aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/Kconfig
diff options
context:
space:
mode:
authorRobert Love <rlove@google.com>2008-04-29 16:44:10 -0400
committerColin Cross <ccross@android.com>2011-06-14 09:08:40 -0700
commit2a1970ecf12aada856e4cfa9e735d548ff5a9f1b (patch)
treee99b3b113812000ec96ab745158b4a1db66cf55e /drivers/char/Kconfig
parentf2a96a65e2486d60b3bcb47f5184462690b3eeac (diff)
downloadkernel_samsung_tuna-2a1970ecf12aada856e4cfa9e735d548ff5a9f1b.zip
kernel_samsung_tuna-2a1970ecf12aada856e4cfa9e735d548ff5a9f1b.tar.gz
kernel_samsung_tuna-2a1970ecf12aada856e4cfa9e735d548ff5a9f1b.tar.bz2
Make /dev/mem configurable, as we don't want it.
Signed-off-by: Brian Swetland <swetland@google.com>
Diffstat (limited to 'drivers/char/Kconfig')
-rw-r--r--drivers/char/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig
index b54589e..7d10ae3 100644
--- a/drivers/char/Kconfig
+++ b/drivers/char/Kconfig
@@ -6,6 +6,19 @@ menu "Character devices"
source "drivers/tty/Kconfig"
+config DEVMEM
+ bool "Memory device driver"
+ default y
+ help
+ The memory driver provides two character devices, mem and kmem, which
+ provide access to the system's memory. The mem device is a view of
+ physical memory, and each byte in the device corresponds to the
+ matching physical address. The kmem device is the same as mem, but
+ the addresses correspond to the kernel's virtual address space rather
+ than physical memory. These devices are standard parts of a Linux
+ system and most users should say Y here. You might say N if very
+ security conscience or memory is tight.
+
config DEVKMEM
bool "/dev/kmem virtual device support"
default y