blob: 45e0c6199f36d6484df7adc657527c02c7974a4e [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
4 bool
5 default y
6
Linus Torvalds1da177e2005-04-16 15:20:36 -07007source "lib/Kconfig.debug"
8
Heiko Carstens1dcec252010-02-26 22:37:22 +01009config 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 Torvalds1da177e2005-04-16 15:20:36 -070022endmenu