diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-17 18:26:59 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-17 18:28:57 -0400 |
commit | 64d206d896ff70b828138577d5ff39deda5f1c4d (patch) | |
tree | c73a42f38a22c00d9bc3a9a558770cbbea79877c /arch/x86/Kconfig.debug | |
parent | 2567d71cc7acd99f0a0dd02e17fe17fd7df7b30c (diff) |
x86: rename CONFIG_NONPROMISC_DEVMEM to CONFIG_PROMISC_DEVMEM
Linus observed:
> The real bug is that we shouldn't have "double negatives", and
> certainly not negative config options. Making that "promiscuous
> /dev/mem" option a negated thing as a config option was bad.
right ... lets rename this option. There should never be a negation
in config options.
[ that reminds me of CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER, but that
is for another commit ;-) ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/Kconfig.debug')
-rw-r--r-- | arch/x86/Kconfig.debug | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug index ae36bfa814e5..f0cf5d990794 100644 --- a/arch/x86/Kconfig.debug +++ b/arch/x86/Kconfig.debug | |||
@@ -5,10 +5,11 @@ config TRACE_IRQFLAGS_SUPPORT | |||
5 | 5 | ||
6 | source "lib/Kconfig.debug" | 6 | source "lib/Kconfig.debug" |
7 | 7 | ||
8 | config NONPROMISC_DEVMEM | 8 | config PROMISC_DEVMEM |
9 | bool "Filter access to /dev/mem" | 9 | bool "Allow unlimited access to /dev/mem" |
10 | default y | ||
10 | help | 11 | help |
11 | If this option is left off, you allow userspace access to all | 12 | If this option is left on, you allow userspace (root) access to all |
12 | of memory, including kernel and userspace memory. Accidental | 13 | of memory, including kernel and userspace memory. Accidental |
13 | access to this is obviously disastrous, but specific access can | 14 | access to this is obviously disastrous, but specific access can |
14 | be used by people debugging the kernel. | 15 | be used by people debugging the kernel. |