Skip to contentSkip to conversation

random: changes for 5.6

GIT PULL Merged Theodore Y. Ts'o 2 participants 2 messages Jan 31, 2020 – Feb 1, 2020

lore
Share & tools
lore
#0 lore raw

The following changes since commit 46cf053efec6a3a5f343fead837777efe8252a46:

Linux 5.5-rc3 (2019-12-22 17:02:23 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tytso/random.git tags/random_for_linus

for you to fetch changes up to 4cb760b02419061209b9b4cc2557986a6bf93e73:

s390x: Mark archrandom.h functions __must_check (2020-01-25 12:18:51 -0500)

----------------------------------------------------------------
Change /dev/random so that it uses the CRNG and only blocking if the CRNG hasn't initialized, instead of the old blocking pool. Also clean up archrandom.h, and some other miscellaneous cleanups.

----------------------------------------------------------------
Andy Lutomirski (8):
random: Don't wake crng_init_wait when crng_init == 1
random: Add a urandom_read_nowait() for random APIs that don't warn
random: add GRND_INSECURE to return best-effort non-cryptographic bytes
random: ignore GRND_RANDOM in getentropy(2)
random: make /dev/random be almost like /dev/urandom
random: remove the blocking pool
random: delete code to pull data into pools
random: remove kernel.random.read_wakeup_threshold

Richard Henderson (10):
x86: Remove arch_has_random, arch_has_random_seed
powerpc: Remove arch_has_random, arch_has_random_seed
s390: Remove arch_has_random, arch_has_random_seed linux/random.h: Remove arch_has_random, arch_has_random_seed linux/random.h: Use false with bool
linux/random.h: Mark CONFIG_ARCH_RANDOM functions __must_check
x86: Mark archrandom.h functions __must_check
powerpc: Use bool in archrandom.h
powerpc: Mark archrandom.h functions __must_check
s390x: Mark archrandom.h functions __must_check

Sergey Senozhatsky (1):
char/random: silence a lockdep splat with printk()

Yangtao Li (5):
random: remove unnecessary unlikely()
random: convert to ENTROPY_BITS for better code readability
random: Add and use pr_fmt()
random: fix typo in add_timer_randomness()
random: remove some dead code of poolinfo

 arch/powerpc/include/asm/archrandom.h |  27 +++----
 arch/s390/include/asm/archrandom.h    |  20 +----
 arch/x86/include/asm/archrandom.h     |  28 +++----
 drivers/char/random.c                 | 316 +++++++++++++-----------------------------------------------------------------
 include/linux/random.h                |  24 ++----
 include/uapi/linux/random.h           |   4 +-
 6 files changed, 89 insertions(+), 330 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Fri, 31 Jan 2020 15:49:24 -0500:

The pull request you sent on Fri, 31 Jan 2020 15:49:24 -0500:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/tytso/random.git tags/random_for_linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/acd77500aa8a337baa6d853568c4b55aca48e20f

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker