diff options
author | 2019-12-23 00:20:45 -0800 | |
---|---|---|
committer | 2020-01-07 16:07:00 -0500 | |
commit | c6f1deb158789abba02a7eba600747843eeb3a57 (patch) | |
tree | 2e8e5715d3dd2705531cf17fa13b0ce7814396df /tools/perf/scripts/python/export-to-postgresql.py | |
parent | random: Don't wake crng_init_wait when crng_init == 1 (diff) | |
download | linux-rng-c6f1deb158789abba02a7eba600747843eeb3a57.tar.xz linux-rng-c6f1deb158789abba02a7eba600747843eeb3a57.zip |
random: Add a urandom_read_nowait() for random APIs that don't warn
/dev/random and getrandom() never warn. Split the meat of
urandom_read() into urandom_read_nowarn() and leave the warning code
in urandom_read().
This has no effect on kernel behavior, but it makes subsequent
patches more straightforward. It also makes the fact that
getrandom() never warns more obvious.
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Link: https://lore.kernel.org/r/c87ab200588de746431d9f916501ef11e5242b13.1577088521.git.luto@kernel.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions