diff options
author | Kees Cook <[email protected]> | 2017-07-12 14:34:04 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2017-07-12 16:26:00 -0700 |
commit | ee7998c50c2697737c6530431709f77c852bf0d6 (patch) | |
tree | ad6f1c9946eae9286b3e5495cef00e3791256920 /scripts/gdb/linux/dmesg.py | |
parent | 9380fa60b10ebd6ee7c3fcdb2cf162f4d7cf9fc5 (diff) |
random: do not ignore early device randomness
The add_device_randomness() function would ignore incoming bytes if the
crng wasn't ready. This additionally makes sure to make an early enough
call to add_latent_entropy() to influence the initial stack canary,
which is especially important on non-x86 systems where it stays the same
through the life of the boot.
Link: http://lkml.kernel.org/r/20170626233038.GA48751@beast
Signed-off-by: Kees Cook <[email protected]>
Cc: "Theodore Ts'o" <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jessica Yu <[email protected]>
Cc: Steven Rostedt (VMware) <[email protected]>
Cc: Viresh Kumar <[email protected]>
Cc: Tejun Heo <[email protected]>
Cc: Prarit Bhargava <[email protected]>
Cc: Lokesh Vutla <[email protected]>
Cc: Nicholas Piggin <[email protected]>
Cc: AKASHI Takahiro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/dmesg.py')
0 files changed, 0 insertions, 0 deletions