android_kernel_sony_msm8994/drivers/char
Herbert Xu 9a1df704f0
BACKPORT: random: Wake up all getrandom(2) callers when pool is ready
Clean cherry pick of 1d9de44e268d880cbe2d0bd3be1ef0661f93fd34.

If more than one application invokes getrandom(2) before the pool
is ready, then all bar one will be stuck forever because we use
wake_up_interruptible which wakes up a single task.

This patch replaces it with wake_up_all.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

Bug: http://b/29621447
Change-Id: I5dfd7abac10898802f030e0a2af7110809283328
(cherry picked from commit 1d9de44e268d880cbe2d0bd3be1ef0661f93fd34)
2018-05-27 19:23:06 +02:00
..
agp
diag Merge remote-tracking branch 'caf/LA.BF64.1.2.3_rb1.18' into HEAD 2018-01-25 11:09:49 +01:00
hw_random msm: crypto: Modify crypto libraries for FIPS139-2 Certificate 2015-03-14 00:15:28 -07:00
ipmi ipmi: Reset the KCS timeout when starting error recovery 2014-06-07 13:25:30 -07:00
mwave
pcmcia
tpm This is the 3.10.84 stable release 2015-08-13 14:38:09 -07:00
xilinx_hwicap
adsprpc_compat.c msm: ADSPRPC: Do not access user memory directly 2016-08-18 17:35:26 +05:30
adsprpc_compat.h msm: ADSPRPC: Changes to support 64 bit address space 2014-05-05 15:21:03 -07:00
adsprpc_shared.h msm: ADSPRPC: Add ioctl for remote process creation 2014-08-21 10:47:15 -07:00
adsprpc.c msm: ADSPRPC: Check for buffer overflow condition 2017-03-01 14:34:32 -08:00
apm-emulation.c
applicom.c applicom: dereferencing NULL on error path 2014-06-30 20:09:41 -07:00
applicom.h
bfin-otp.c
bsr.c
ds1302.c
ds1620.c
dsp56k.c
dtlk.c
efirtc.c
generic_nvram.c
genrtc.c
hangcheck-timer.c
hpet.c
i8k.c drivers/char/i8k.c: add Dell XPLS L421X 2013-12-11 22:36:29 -08:00
Kconfig msm: modify build dependency for remote debugger 2014-03-31 15:17:04 -07:00
lp.c
Makefile msm: ADSPRPC: Changes to support 64 bit address space 2014-05-05 15:21:03 -07:00
mbcs.c
mbcs.h
mem.c mm: Tighten x86 /dev/mem with zeroing reads 2017-09-02 18:04:14 +02:00
misc.c
mmtimer.c
msm_smd_pkt.c char: msm_smd_pkt: Fix the TIOCMSET IOCTL argument reading 2016-07-19 02:20:36 -07:00
mspec.c
nsc_gpio.c
nvram.c
nwbutton.c
nwbutton.h
nwflash.c
pc8736x_gpio.c
ppdev.c
ps3flash.c
random.c BACKPORT: random: Wake up all getrandom(2) callers when pool is ready 2018-05-27 19:23:06 +02:00
raw.c raw: test against runtime value of max_raw_minors 2014-02-22 12:41:27 -08:00
rdbg.c msm: remote debugger driver updates to support 64 bit address space 2015-02-09 12:45:13 +05:30
rtc.c
scx200_gpio.c
snsc_event.c
snsc.c
snsc.h
sonypi.c
tb0219.c
tile-srom.c
tlclk.c
toshiba.c
ttyprintk.c
uv_mmtimer.c
virtio_console.c virtio_console: init work unconditionally 2015-03-26 15:00:58 +01:00