Kconfig.debug 906 B

12345678910111213141516171819202122232425262728293031
  1. menu "Kernel hacking"
  2. source "lib/Kconfig.debug"
  3. config FRAME_POINTER
  4. bool
  5. default y
  6. config STRICT_DEVMEM
  7. bool "Filter access to /dev/mem"
  8. depends on MMU
  9. help
  10. If this option is disabled, you allow userspace (root) access to all
  11. of memory, including kernel and userspace memory. Accidental
  12. access to this is obviously disastrous, but specific access can
  13. be used by people debugging the kernel.
  14. If this option is switched on, the /dev/mem file only allows
  15. userspace access to memory mapped peripherals.
  16. If in doubt, say Y.
  17. config PID_IN_CONTEXTIDR
  18. bool "Write the current PID to the CONTEXTIDR register"
  19. help
  20. Enabling this option causes the kernel to write the current PID to
  21. the CONTEXTIDR register, at the expense of some additional
  22. instructions during context switch. Say Y here only if you are
  23. planning to use hardware trace tools with this kernel.
  24. endmenu