Files
kernel_arpi/include/linux
Jason A. Donenfeld 25e3fca492 random: always fill buffer in get_random_bytes_wait
In the unfortunate event that a developer fails to check the return
value of get_random_bytes_wait, or simply wants to make a "best effort"
attempt, for whatever that's worth, it's much better to still fill the
buffer with _something_ rather than catastrophically failing in the case
of an interruption. This is both a defense in depth measure against
inevitable programming bugs, as well as a means of making the API a bit
more useful.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2018-02-28 17:59:21 -05:00
..
2018-02-20 11:34:54 +00:00
2018-02-06 18:32:44 -08:00
2018-02-12 15:59:08 +00:00
2018-01-25 14:10:39 -08:00
2018-01-16 00:04:19 +01:00
2018-02-06 16:41:29 -05:00
2018-01-17 11:30:16 +00:00
2018-01-31 17:18:38 -08:00
2018-01-28 22:17:24 -05:00
2018-01-17 15:25:50 +01:00
2018-01-25 08:48:20 -06:00
2018-01-31 17:18:40 -08:00
2018-01-31 17:18:37 -08:00
2018-02-01 11:40:07 -06:00
2018-01-19 16:50:53 -08:00
2018-02-06 16:41:28 -05:00
2018-01-29 12:02:54 -05:00
2018-02-16 15:52:42 -05:00
2018-01-18 11:56:49 +01:00
2018-01-15 12:07:46 -08:00
2018-02-06 18:32:47 -08:00
2018-02-06 18:32:44 -08:00