android_kernel_oneplus_msm8998/arch
dcashman b471fcdaec 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: I36c156c9b8d7d157134895fddd4cd6efddcbee86
2016-03-16 16:50:34 -07:00
..
alpha
arc ARC: dw2 unwind: Catch Dwarf SNAFUs early 2015-12-21 14:01:49 +05:30
arm FROMLIST: mm: ASLR: use get_random_long() 2016-03-16 16:50:34 -07:00
arm64 FROMLIST: mm: ASLR: use get_random_long() 2016-03-16 16:50:34 -07:00
avr32
blackfin treewide: Remove old email address 2015-11-23 09:44:58 +01:00
c6x
cris
frv
h8300 h8300 update for v4.4 2015-11-12 15:26:39 -08:00
hexagon
ia64 [IA64] Enable mlock2 syscall for ia64 2015-12-14 10:30:02 -08:00
m32r m32r: add io*_rep helpers 2015-12-29 17:45:49 -08:00
m68k m68k: Wire up mlock2 2015-11-22 11:35:26 +01:00
metag
microblaze Revert "scatterlist: use sg_phys()" 2015-12-15 12:54:06 -08:00
mips FROMLIST: mm: ASLR: use get_random_long() 2016-03-16 16:50:34 -07:00
mn10300 mn10300: Select CONFIG_HAVE_UID16 to fix build failure 2015-11-30 07:01:40 -08:00
nios2 nios2: fix cache coherency 2015-11-26 22:25:58 +08:00
openrisc
parisc parisc: Fix syscall restarts 2015-12-21 10:16:18 +01:00
powerpc FROMLIST: mm: ASLR: use get_random_long() 2016-03-16 16:50:34 -07:00
s390 s390/dis: Fix handling of format specifiers 2015-12-18 14:43:21 +01:00
score
sh sh64: fix __NR_fgetxattr 2015-12-12 10:15:34 -08:00
sparc FROMLIST: mm: ASLR: use get_random_long() 2016-03-16 16:50:34 -07:00
tile tile: provide CONFIG_PAGE_SIZE_64KB etc for tilepro 2016-01-05 08:16:09 -05:00
um um: fix returns without va_end 2015-12-08 22:26:00 +01:00
unicore32
x86 FROMLIST: mm: ASLR: use get_random_long() 2016-03-16 16:50:34 -07:00
xtensa
.gitignore
Kconfig FROMLIST: mm: mmap: Add new /proc tunable for mmap_base ASLR. 2016-02-16 13:54:14 -08:00