android_kernel_google_msm/include
Vasily Kulikov d965aca981 include/linux/poison.h: fix LIST_POISON{1,2} offset
Poison pointer values should be small enough to find a room in
non-mmap'able/hardly-mmap'able space.  E.g.  on x86 "poison pointer space"
is located starting from 0x0.  Given unprivileged users cannot mmap
anything below mmap_min_addr, it should be safe to use poison pointers
lower than mmap_min_addr.

The current poison pointer values of LIST_POISON{1,2} might be too big for
mmap_min_addr values equal or less than 1 MB (common case, e.g.  Ubuntu
uses only 0x10000).  There is little point to use such a big value given
the "poison pointer space" below 1 MB is not yet exhausted.  Changing it
to a smaller value solves the problem for small mmap_min_addr setups.

The values are suggested by Solar Designer:
http://www.openwall.com/lists/oss-security/2015/05/02/6

Bug: 26186802
Change-Id: Ie2121a417b6a43ee6d119c996b5ec2ad6d01a0a7
Signed-off-by: Yuan Lin <yualin@google.com>
2016-01-08 14:33:04 -05:00
..
acpi
asm-generic seccomp: add "seccomp" syscall 2014-10-31 19:46:27 -07:00
crypto
drm msm: kgsl: Add genlock to KGSL DRM driver 2013-09-11 22:41:12 -07:00
keys
linux include/linux/poison.h: fix LIST_POISON{1,2} offset 2016-01-08 14:33:04 -05:00
math-emu
media camera: Support setting MWB and EV for yuv sensor. 2013-06-24 10:55:26 -07:00
misc
mtd
net proc: Usable inode numbers for the namespace file descriptors. 2015-07-13 11:18:01 -07:00
pcmcia
rdma
rxrpc
scsi
sound ASoC: add definations for compressed operations 2013-04-18 16:08:45 -07:00
target
trace trace/events: fix gpu event timestamp formatting 2013-04-23 22:49:30 -07:00
video
xen
Kbuild