diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Kconfig.debug | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index e4587ebe52c7..c4159605bfbf 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
| @@ -1209,6 +1209,22 @@ config STACKTRACE | |||
| 1209 | It is also used by various kernel debugging features that require | 1209 | It is also used by various kernel debugging features that require |
| 1210 | stack trace generation. | 1210 | stack trace generation. |
| 1211 | 1211 | ||
| 1212 | config WARN_UNSEEDED_RANDOM | ||
| 1213 | bool "Warn when kernel uses unseeded randomness" | ||
| 1214 | default y | ||
| 1215 | depends on DEBUG_KERNEL | ||
| 1216 | help | ||
| 1217 | Some parts of the kernel contain bugs relating to their use of | ||
| 1218 | cryptographically secure random numbers before it's actually possible | ||
| 1219 | to generate those numbers securely. This setting ensures that these | ||
| 1220 | flaws don't go unnoticed, by enabling a message, should this ever | ||
| 1221 | occur. This will allow people with obscure setups to know when things | ||
| 1222 | are going wrong, so that they might contact developers about fixing | ||
| 1223 | it. | ||
| 1224 | |||
| 1225 | Say Y here, unless you simply do not care about using unseeded | ||
| 1226 | randomness and do not want a potential warning message in your logs. | ||
| 1227 | |||
| 1212 | config DEBUG_KOBJECT | 1228 | config DEBUG_KOBJECT |
| 1213 | bool "kobject debugging" | 1229 | bool "kobject debugging" |
| 1214 | depends on DEBUG_KERNEL | 1230 | depends on DEBUG_KERNEL |
