aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2022-01-24 21:29:48 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2022-02-05 15:10:49 +1100
commitc05ac449442dd214e262057a3a49c368e224c384 (patch)
tree47ec0f7861be150010f150d8ae0a276326551738 /tools/perf/scripts/python
parenthwrng: core - read() callback must be called for size of 32 or more bytes (diff)
downloadlinux-c05ac449442dd214e262057a3a49c368e224c384.tar.gz
linux-c05ac449442dd214e262057a3a49c368e224c384.zip
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 <mpm@selenic.com> Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions