Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | menu "Kernel hacking" |
| 2 | |
Heiko Carstens | 1f194a4 | 2006-07-03 00:24:46 -0700 | [diff] [blame] | 3 | config TRACE_IRQFLAGS_SUPPORT |
| 4 | bool |
| 5 | default y |
| 6 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | source "lib/Kconfig.debug" |
| 8 | |
Heiko Carstens | 1dcec25 | 2010-02-26 22:37:22 +0100 | [diff] [blame] | 9 | config DEBUG_STRICT_USER_COPY_CHECKS |
| 10 | bool "Strict user copy size checks" |
| 11 | ---help--- |
| 12 | Enabling this option turns a certain set of sanity checks for user |
| 13 | copy operations into compile time warnings. |
| 14 | |
| 15 | The copy_from_user() etc checks are there to help test if there |
| 16 | are sufficient security checks on the length argument of |
| 17 | the copy operation, by having gcc prove that the argument is |
| 18 | within bounds. |
| 19 | |
| 20 | If unsure, or if you run an older (pre 4.4) gcc, say N. |
| 21 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 22 | endmenu |