Messages in this thread | | | Date | Fri, 31 Jan 2020 15:49:24 -0500 | From | "Theodore Y. Ts'o" <> | Subject | [GIT PULL] random: changes for 5.6 |
| |
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(-)
| |