Commit | Line | Data |
---|---|---|
8c2c3df3 CM |
1 | menu "Kernel hacking" |
2 | ||
3 | source "lib/Kconfig.debug" | |
4 | ||
5 | config FRAME_POINTER | |
6 | bool | |
7 | default y | |
8 | ||
d253b440 LA |
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 | ||
ec45d1cf WD |
23 | config PID_IN_CONTEXTIDR |
24 | bool "Write the current PID to the CONTEXTIDR register" | |
25 | help | |
26 | Enabling this option causes the kernel to write the current PID to | |
27 | the CONTEXTIDR register, at the expense of some additional | |
28 | instructions during context switch. Say Y here only if you are | |
29 | planning to use hardware trace tools with this kernel. | |
30 | ||
8c2c3df3 | 31 | endmenu |