android_kernel_google_msm/arch/powerpc
dcashman 4b659025f0 BACKPORT: FROMLIST: mm: ASLR: use get_random_long()
(cherry picked from commit https://lkml.org/lkml/2016/2/4/833)

Replace calls to get_random_int() followed by a cast to (unsigned long)
with calls to get_random_long().  Also address shifting bug which, in case
of x86 removed entropy mask for mmap_rnd_bits values > 31 bits.

Bug: 26963541
Signed-off-by: Daniel Cashman <dcashman@android.com>
Signed-off-by: Daniel Cashman <dcashman@google.com>
Change-Id: Iac34b63294ec120edcbf8760186667a84a5cf556
2017-12-27 22:50:17 +03:00
..
boot powerpc/mpc85xx: Add ranges to etsec2 nodes 2015-06-19 11:40:32 +08:00
configs
include/asm powerpc/rtas: Introduce rtas_get_sensor_fast() for IRQ handlers 2016-04-27 18:55:14 +08:00
kernel BACKPORT: FROMLIST: mm: ASLR: use get_random_long() 2017-12-27 22:50:17 +03:00
kvm
lib
math-emu
mm BACKPORT: FROMLIST: mm: ASLR: use get_random_long() 2017-12-27 22:50:17 +03:00
net
oprofile
perf powerpc/perf: Cap 64bit userspace backtraces to PERF_MAX_STACK_DEPTH 2015-09-18 09:20:30 +08:00
platforms Merge remote-tracking branch 'stable/linux-3.4.y' into lineage-15.1 2017-12-27 17:13:15 +03:00
sysdev powerpc/MSI: Fix race condition in tearing down MSI interrupts 2016-04-27 18:55:19 +08:00
xmon powerpc/xmon: Fix another endiannes issue in RTAS call from xmon 2015-04-14 17:33:55 +08:00
Kconfig
Kconfig.debug
Makefile
relocs_check.pl