blob: c56878e1245fb4c4e75425f6e87ddd86457d5da1 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001menu "Kernel hacking"
2
Heiko Carstens1f194a42006-07-03 00:24:46 -07003config TRACE_IRQFLAGS_SUPPORT
Martin Schwidefsky6f9a3c32011-01-05 12:47:15 +01004 def_bool y
Heiko Carstens1f194a42006-07-03 00:24:46 -07005
Linus Torvalds1da177e2005-04-16 15:20:36 -07006source "lib/Kconfig.debug"
7
Hendrik Bruecknerec6743b2010-11-10 10:05:55 +01008config STRICT_DEVMEM
9 def_bool y
10 prompt "Filter access to /dev/mem"
11 ---help---
12 This option restricts access to /dev/mem. If this option is
13 disabled, you allow userspace access to all memory, including
14 kernel and userspace memory. Accidental memory access is likely
15 to be disastrous.
16 Memory access is required for experts who want to debug the kernel.
17
18 If you are unsure, say Y.
19
Heiko Carstense76e82d2012-10-04 14:46:12 +020020config S390_PTDUMP
21 bool "Export kernel pagetable layout to userspace via debugfs"
22 depends on DEBUG_KERNEL
23 select DEBUG_FS
24 ---help---
25 Say Y here if you want to show the kernel pagetable layout in a
26 debugfs file. This information is only useful for kernel developers
27 who are working in architecture specific areas of the kernel.
28 It is probably not a good idea to enable this feature in a production
29 kernel.
30 If in doubt, say "N"
31
Jan Glauber305b1522011-03-15 17:08:22 +010032config DEBUG_SET_MODULE_RONX
33 def_bool y
34 depends on MODULES
Linus Torvalds1da177e2005-04-16 15:20:36 -070035endmenu