diff options
Diffstat (limited to 'arch/arm64/Kconfig.debug')
| -rw-r--r-- | arch/arm64/Kconfig.debug | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/arch/arm64/Kconfig.debug b/arch/arm64/Kconfig.debug index 1a6bfe954d4..1c1b7562984 100644 --- a/arch/arm64/Kconfig.debug +++ b/arch/arm64/Kconfig.debug @@ -6,21 +6,19 @@ config FRAME_POINTER bool default y -config DEBUG_STACK_USAGE - bool "Enable stack utilization instrumentation" - depends on DEBUG_KERNEL +config STRICT_DEVMEM + bool "Filter access to /dev/mem" + depends on MMU help - Enables the display of the minimum amount of free stack which each - task has ever had available in the sysrq-T output. + If this option is disabled, you allow userspace (root) access to all + of memory, including kernel and userspace memory. Accidental + access to this is obviously disastrous, but specific access can + be used by people debugging the kernel. -config EARLY_PRINTK - bool "Early printk support" - default y - help - Say Y here if you want to have an early console using the - earlyprintk=<name>[,<addr>][,<options>] kernel parameter. It - is assumed that the early console device has been initialised - by the boot loader prior to starting the Linux kernel. + If this option is switched on, the /dev/mem file only allows + userspace access to memory mapped peripherals. + + If in doubt, say Y. config PID_IN_CONTEXTIDR bool "Write the current PID to the CONTEXTIDR register" |
