Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 97694
b: refs/heads/master
c: 16104b5
h: refs/heads/master
v: v3
  • Loading branch information
Stefan Richter authored and Linus Torvalds committed Jun 5, 2008
1 parent 9dcd102 commit d4bec03
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 609a70ac927b72da647ccee7873d928d45055eae
refs/heads/master: 16104b5504fa8be130f7f127a5a1c7dd774efc44
20 changes: 12 additions & 8 deletions trunk/arch/x86/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,19 @@ config TRACE_IRQFLAGS_SUPPORT
source "lib/Kconfig.debug"

config NONPROMISC_DEVMEM
bool "Disable promiscuous /dev/mem"
bool "Filter access to /dev/mem"
help
The /dev/mem file by default only allows userspace access to PCI
space and the BIOS code and data regions. This is sufficient for
dosemu and X and all common users of /dev/mem. With this config
option, you allow userspace access to all of memory, including
kernel and userspace memory. Accidental access to this is
obviously disasterous, but specific access can be used by people
debugging the kernel.
If this option is left off, you allow userspace 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.

If this option is switched on, the /dev/mem file only allows
userspace access to PCI space and the BIOS code and data regions.
This is sufficient for dosemu and X and all common users of
/dev/mem.

If in doubt, say Y.

config EARLY_PRINTK
bool "Early printk" if EMBEDDED
Expand Down

0 comments on commit d4bec03

Please sign in to comment.