diff options
author | Dominik Brodowski <[email protected]> | 2022-01-24 21:29:48 +0100 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2022-02-05 15:10:49 +1100 |
commit | c05ac449442dd214e262057a3a49c368e224c384 (patch) | |
tree | 47ec0f7861be150010f150d8ae0a276326551738 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 6ff6304497c900a0284e3aa89ad86f0ed01f86d8 (diff) |
hwrng: core - use rng_fillbuf in add_early_randomness()
Using rng_buffer in add_early_randomness() may race with rng_dev_read().
Use rng_fillbuf instead, as it is otherwise only used within the kernel
by hwrng_fillfn() and therefore never exposed to userspace.
Cc: Matt Mackall <[email protected]>
Cc: Herbert Xu <[email protected]>
Cc: Jason A. Donenfeld <[email protected]>
Signed-off-by: Dominik Brodowski <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions