OpenCloudOS-Kernel/arch/s390/kernel/vdso32
Heiko Carstens 9b2efe035e s390/vdso: fix stack corruption
The kernel provided vdso functions do not get a stack frame from the
calling function and therefore may not change the stack contents, unless
they allocate space on their own.

This problem was exposed with 070b7be633 "s390/vdso: replace stck with
stcke" which writes 16 bytes instead of 8 bytes into the stack frame. These
additional 8 bytes however were indeed used by the caller (glibc) to save
data and therefore this data was corrupted by the vdso code.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2014-10-27 13:27:02 +01:00
..
.gitignore s390: add various .gitignore files. 2012-05-16 14:42:41 +02:00
Makefile [S390] vdso: disable gcov profiling 2011-05-23 10:24:29 +02:00
clock_getres.S s390/vdso: add vdso support for coarse clocks 2014-09-09 08:53:27 +02:00
clock_gettime.S s390/vdso: fix stack corruption 2014-10-27 13:27:02 +01:00
gettimeofday.S s390/vdso: fix stack corruption 2014-10-27 13:27:02 +01:00
note.S [S390] introduce vdso on s390 2008-12-25 13:38:55 +01:00
vdso32.lds.S [S390] introduce vdso on s390 2008-12-25 13:38:55 +01:00
vdso32_wrapper.S Use macros for .data.page_aligned section. 2009-09-21 06:27:08 +02:00