diff options
Diffstat (limited to 'arch/arm64/Kconfig.debug')
-rw-r--r-- | arch/arm64/Kconfig.debug | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig.debug b/arch/arm64/Kconfig.debug index 835c559786bd..d10ec334c93b 100644 --- a/arch/arm64/Kconfig.debug +++ b/arch/arm64/Kconfig.debug | |||
@@ -6,6 +6,20 @@ config FRAME_POINTER | |||
6 | bool | 6 | bool |
7 | default y | 7 | default y |
8 | 8 | ||
9 | config STRICT_DEVMEM | ||
10 | bool "Filter access to /dev/mem" | ||
11 | depends on MMU | ||
12 | help | ||
13 | If this option is disabled, you allow userspace (root) access to all | ||
14 | of memory, including kernel and userspace memory. Accidental | ||
15 | access to this is obviously disastrous, but specific access can | ||
16 | be used by people debugging the kernel. | ||
17 | |||
18 | If this option is switched on, the /dev/mem file only allows | ||
19 | userspace access to memory mapped peripherals. | ||
20 | |||
21 | If in doubt, say Y. | ||
22 | |||
9 | config EARLY_PRINTK | 23 | config EARLY_PRINTK |
10 | bool "Early printk support" | 24 | bool "Early printk support" |
11 | default y | 25 | default y |