android_kernel_google_msm/arch/mips/mm
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
..
Makefile
c-octeon.c
c-r3k.c
c-r4k.c MIPS: Fix accessing to per-cpu data when flushing the cache 2014-09-25 11:49:17 +08:00
c-tx39.c
cache.c
cerr-sb1.c
cex-gen.S
cex-oct.S
cex-sb1.S
dma-default.c MIPS: dma-default: Fix 32-bit fall back to GFP_DMA 2016-04-27 18:55:20 +08:00
extable.c
fault.c vm: add VM_FAULT_SIGSEGV handling support 2015-04-14 17:33:57 +08:00
gup.c
highmem.c
hugetlbpage.c
init.c
ioremap.c
mmap.c BACKPORT: FROMLIST: mm: ASLR: use get_random_long() 2017-12-27 22:50:17 +03:00
page.c
pgtable-32.c
pgtable-64.c
sc-ip22.c
sc-mips.c
sc-r5k.c
sc-rm7k.c
tlb-r3k.c
tlb-r4k.c
tlb-r8k.c
tlbex-fault.S
tlbex.c MIPS: tlbex: Properly fix HUGE TLB Refill exception handler 2015-02-02 17:04:56 +08:00
uasm.c