diff options
author | H. Peter Anvin <[email protected]> | 2014-03-17 16:36:29 -0700 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2014-03-19 22:22:06 -0400 |
commit | 331c6490c7f10dcf263712e313b7c0bc7fb6d77a (patch) | |
tree | 30249a0a1a7dc7ea7538fe622a4303bb26853f32 /scripts/gdb/linux/utils.py | |
parent | 83664a6928a420b5ccfc0cf23ddbfe3634fea271 (diff) |
random: If we have arch_get_random_seed*(), try it before blocking
If we have arch_get_random_seed*(), try to use it for emergency refill
of the entropy pool before giving up and blocking on /dev/random. It
may or may not work in the moment, but if it does work, it will give
the user better service than blocking will.
Reviewed-by: Ingo Molnar <[email protected]>
Signed-off-by: H. Peter Anvin <[email protected]>
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions