alistair23-linux/arch/x86/um
Andrey Ryabinin fc9bea0e28 x86, UML: fix integer overflow in ELF_ET_DYN_BASE
Almost all arches define ELF_ET_DYN_BASE as 2/3 of TASK_SIZE.
Though it seems that some architectures do this in a wrong way.
The problem is that 2*TASK_SIZE may overflow 32-bits so
the real ELF_ET_DYN_BASE becomes wrong.
Fix this overflow by dividing TASK_SIZE prior to multiplying:
	(TASK_SIZE / 3 * 2)

Signed-off-by: Andrey Ryabinin <a.ryabinin@samsung.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2015-04-13 21:16:12 +02:00
..
asm x86, UML: fix integer overflow in ELF_ET_DYN_BASE 2015-04-13 21:16:12 +02:00
os-Linux
shared/sysdep um: Remove SKAS3/4 support 2015-04-13 21:00:53 +02:00
vdso x86, vdso: Clean up 32-bit vs 64-bit vdso params 2014-05-05 13:18:40 -07:00
bug.c
bugs_32.c
bugs_64.c
checksum_32.S um: remove csum_partial_copy_generic_i386 to clean up exception table 2014-10-13 17:15:02 +02:00
delay.c
elfcore.c
fault.c
Kconfig
ksyms.c
ldt.c um: Remove SKAS3/4 support 2015-04-13 21:00:53 +02:00
Makefile um: Remove broken highmem support 2015-04-13 21:01:02 +02:00
mem_32.c
mem_64.c arm64,ia64,ppc,s390,sh,tile,um,x86,mm: remove default gate area 2014-08-08 15:57:27 -07:00
ptrace_32.c
ptrace_64.c
ptrace_user.c
setjmp_32.S
setjmp_64.S
signal.c all arches, signal: move restart_block to struct task_struct 2015-02-12 18:54:12 -08:00
stub_32.S
stub_64.S
stub_segv.c
sys_call_table_32.c x86, um: actually mark system call tables readonly 2015-01-04 14:21:25 +01:00
sys_call_table_64.c x86, um: actually mark system call tables readonly 2015-01-04 14:21:25 +01:00
syscalls_64.c
sysrq_32.c
sysrq_64.c
tls_32.c
tls_64.c
user-offsets.c