diff options
author | Jason A. Donenfeld <[email protected]> | 2022-09-26 18:32:25 +0200 |
---|---|---|
committer | Jason A. Donenfeld <[email protected]> | 2022-09-29 21:37:27 +0200 |
commit | 08475dab7cf5b610ea2420828e97c54f5f370d7d (patch) | |
tree | c93d3225e580cefccf5609cd9f4fea2e306cefe1 /tools/perf/scripts/python/task-analyzer.py | |
parent | f62384995e4cb7703e5295779c44135c5311770d (diff) |
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 <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Cc: Andrew Morton <[email protected]>
Reviewed-by: Marco Elver <[email protected]>
Signed-off-by: Jason A. Donenfeld <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions