Merge tag 'random_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/random
Pull random updates from Ted Ts'o: "Add wait_for_random_bytes() and get_random_*_wait() functions so that callers can more safely get random bytes if they can block until the CRNG is initialized. Also print a warning if get_random_*() is called before the CRNG is initialized. By default, only one single-line warning will be printed per boot. If CONFIG_WARN_ALL_UNSEEDED_RANDOM is defined, then a warning will be printed for each function which tries to get random bytes before the CRNG is initialized. This can get spammy for certain architecture types, so it is not enabled by default" * tag 'random_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/random: random: reorder READ_ONCE() in get_random_uXX random: suppress spammy warnings about unseeded randomness random: warn when kernel uses unseeded randomness net/route: use get_random_int for random counter net/neighbor: use g...
Showing
- drivers/char/random.c 76 additions, 20 deletionsdrivers/char/random.c
- drivers/target/iscsi/iscsi_target_auth.c 11 additions, 3 deletionsdrivers/target/iscsi/iscsi_target_auth.c
- drivers/target/iscsi/iscsi_target_login.c 14 additions, 8 deletionsdrivers/target/iscsi/iscsi_target_login.c
- fs/cifs/cifsfs.c 1 addition, 1 deletionfs/cifs/cifsfs.c
- include/linux/net.h 2 additions, 0 deletionsinclude/linux/net.h
- include/linux/once.h 2 additions, 0 deletionsinclude/linux/once.h
- include/linux/random.h 26 additions, 0 deletionsinclude/linux/random.h
- lib/Kconfig.debug 28 additions, 0 deletionslib/Kconfig.debug
- lib/rhashtable.c 1 addition, 1 deletionlib/rhashtable.c
- net/ceph/ceph_common.c 5 additions, 1 deletionnet/ceph/ceph_common.c
- net/core/neighbour.c 1 addition, 2 deletionsnet/core/neighbour.c
- net/ipv4/route.c 1 addition, 2 deletionsnet/ipv4/route.c
Please register or sign in to comment