android_kernel_samsung_msm8976/arch/powerpc/mm
dcashman f5968659d5 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: Ie577b21a0678cf4b21eae06bddd8ccb27cbe70ff
2016-05-18 14:36:13 +05:30
..
40x_mmu.c
44x_mmu.c
dma-noncoherent.c
fault.c
fsl_booke_mmu.c
gup.c
hash_low_32.S
hash_low_64.S
hash_native_64.c
hash_utils_64.c
highmem.c
hugetlbpage-book3e.c
hugetlbpage-hash64.c
hugetlbpage.c
icswx.c
icswx.h
icswx_pid.c
init_32.c
init_64.c
Makefile
mem.c
mmap_64.c BACKPORT: FROMLIST: mm: ASLR: use get_random_long() 2016-05-18 14:36:13 +05:30
mmu_context_hash32.c
mmu_context_hash64.c
mmu_context_nohash.c
mmu_decl.h
numa.c
pgtable.c
pgtable_32.c
pgtable_64.c
ppc_mmu_32.c
slb.c
slb_low.S
slice.c
stab.c
subpage-prot.c
tlb_hash32.c
tlb_hash64.c
tlb_low_64e.S
tlb_nohash.c
tlb_nohash_low.S