Jason A. Donenfeld 08475dab7c kfence: use better stack hash seed
As of the prior commit, the RNG will have incorporated both a cycle
counter value and RDRAND, in addition to various other environmental
noise. Therefore, using get_random_u32() will supply a stronger seed
than simply using random_get_entropy(). N.B.: random_get_entropy()
should be considered an internal API of random.c and not generally
consumed.

Cc: Alexander Potapenko <glider@google.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Marco Elver <elver@google.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2022-09-29 21:37:27 +02:00
..
2022-09-29 21:37:27 +02:00
2021-05-05 11:27:24 -07:00
2022-03-24 19:06:45 -07:00
2022-02-14 19:51:47 +01:00
2022-08-10 11:07:26 -07:00
2022-03-23 18:03:08 -07:00
2022-08-09 09:48:30 -07:00
2022-06-16 19:48:30 -07:00
2022-05-13 07:20:09 -07:00
2022-03-22 17:03:12 -07:00
2021-05-07 00:26:35 -07:00
2022-08-03 10:35:43 -07:00
2022-07-20 10:52:40 +01:00
2022-08-20 15:17:45 -07:00
2022-01-15 16:30:31 +02:00
2022-05-19 14:08:53 -07:00