Revision 342300cc9cd3428bc6bfe5809bfcc1b9a0f06702 authored by Martin Schwidefsky on 19 February 2016, 13:44:14 UTC, committed by Martin Schwidefsky on 22 February 2016, 08:29:35 UTC
git commit 8070361799ae1e3f4ef347bd10f0a508ac10acfb
"s390: add support for vector extension"
broke 31-bit compat processes in regard to signal handling.

The restore_sigregs_ext32() function is used to restore the additional
elements from the user space signal frame. Among the additional elements
are the upper registers halves for 64-bit register support for 31-bit
processes. The copy_from_user that is used to retrieve the high-gprs
array from the user stack uses an incorrect length, 8 bytes instead of
64 bytes. This causes incorrect upper register halves to get loaded.

Cc: stable@vger.kernel.org # 3.8+
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
1 parent 81f70ba
History
File Mode Size
dts
.gitignore -rw-r--r-- 471 bytes
44x.h -rw-r--r-- 448 bytes
4xx.c -rw-r--r-- 20.2 KB
4xx.h -rw-r--r-- 1.2 KB
Makefile -rw-r--r-- 17.5 KB
README -rw-r--r-- 327 bytes
addnote.c -rw-r--r-- 6.9 KB
bamboo.c -rw-r--r-- 1.2 KB
cpm-serial.c -rw-r--r-- 5.2 KB
crt0.S -rw-r--r-- 6.9 KB
crtsavres.S -rw-r--r-- 6.0 KB
cuboot-52xx.c -rw-r--r-- 1.6 KB
cuboot-824x.c -rw-r--r-- 1.2 KB
cuboot-83xx.c -rw-r--r-- 1.5 KB
cuboot-85xx-cpm2.c -rw-r--r-- 1.7 KB
cuboot-85xx.c -rw-r--r-- 1.6 KB
cuboot-8xx.c -rw-r--r-- 1.1 KB
cuboot-acadia.c -rw-r--r-- 4.8 KB
cuboot-amigaone.c -rw-r--r-- 868 bytes
cuboot-bamboo.c -rw-r--r-- 689 bytes
cuboot-c2k.c -rw-r--r-- 4.8 KB
cuboot-ebony.c -rw-r--r-- 782 bytes
cuboot-hotfoot.c -rw-r--r-- 4.0 KB
cuboot-katmai.c -rw-r--r-- 1.3 KB
cuboot-kilauea.c -rw-r--r-- 1.2 KB
cuboot-mpc7448hpc2.c -rw-r--r-- 1.2 KB
cuboot-pq2.c -rw-r--r-- 7.0 KB
cuboot-rainier.c -rw-r--r-- 1.4 KB
cuboot-sam440ep.c -rw-r--r-- 1.2 KB
cuboot-sequoia.c -rw-r--r-- 1.4 KB
cuboot-taishan.c -rw-r--r-- 1.3 KB
cuboot-warp.c -rw-r--r-- 916 bytes
cuboot-yosemite.c -rw-r--r-- 1.1 KB
cuboot.c -rw-r--r-- 944 bytes
cuboot.h -rw-r--r-- 365 bytes
dcr.h -rw-r--r-- 6.4 KB
devtree.c -rw-r--r-- 8.1 KB
div64.S -rw-r--r-- 3.3 KB
dummy.c -rw-r--r-- 30 bytes
ebony.c -rw-r--r-- 2.4 KB
elf.h -rw-r--r-- 3.9 KB
elf_util.c -rw-r--r-- 2.4 KB
ep405.c -rw-r--r-- 1.8 KB
ep8248e.c -rw-r--r-- 1.2 KB
ep88xc.c -rw-r--r-- 1.2 KB
epapr-wrapper.c -rw-r--r-- 292 bytes
epapr.c -rw-r--r-- 1.9 KB
fixed-head.S -rw-r--r-- 66 bytes
fsl-soc.c -rw-r--r-- 1.1 KB
fsl-soc.h -rw-r--r-- 112 bytes
gamecube-head.S -rw-r--r-- 2.4 KB
gamecube.c -rw-r--r-- 812 bytes
gunzip_util.c -rw-r--r-- 6.5 KB
gunzip_util.h -rw-r--r-- 1.6 KB
hack-coff.c -rw-r--r-- 2.3 KB
holly.c -rw-r--r-- 790 bytes
install.sh -rw-r--r-- 1.3 KB
io.h -rw-r--r-- 2.1 KB
libfdt-wrapper.c -rw-r--r-- 5.1 KB
libfdt_env.h -rw-r--r-- 575 bytes
main.c -rw-r--r-- 6.8 KB
mktree.c -rw-r--r-- 3.5 KB
mpc52xx-psc.c -rw-r--r-- 1.4 KB
mpc8xx.c -rw-r--r-- 1.7 KB
mpc8xx.h -rw-r--r-- 195 bytes
mpsc.c -rw-r--r-- 4.0 KB
mv64x60.c -rw-r--r-- 16.7 KB
mv64x60.h -rw-r--r-- 2.5 KB
mv64x60_i2c.c -rw-r--r-- 5.6 KB
mvme5100.c -rw-r--r-- 648 bytes
ns16550.c -rw-r--r-- 1.9 KB
of.c -rw-r--r-- 2.3 KB
of.h -rw-r--r-- 1.1 KB
ofconsole.c -rw-r--r-- 1.0 KB
oflib.c -rw-r--r-- 5.3 KB
ops.h -rw-r--r-- 7.4 KB
page.h -rw-r--r-- 1.1 KB
planetcore.c -rw-r--r-- 2.6 KB
planetcore.h -rw-r--r-- 1.5 KB
ppc_asm.h -rw-r--r-- 1.6 KB
ppcboot-hotfoot.h -rw-r--r-- 4.7 KB
ppcboot.h -rw-r--r-- 3.9 KB
pq2.c -rw-r--r-- 2.4 KB
pq2.h -rw-r--r-- 299 bytes
ps3-head.S -rw-r--r-- 2.2 KB
ps3-hvcall.S -rw-r--r-- 2.9 KB
ps3.c -rw-r--r-- 3.9 KB
pseries-head.S -rw-r--r-- 102 bytes
redboot-83xx.c -rw-r--r-- 1.4 KB
redboot-8xx.c -rw-r--r-- 1.4 KB
redboot.h -rw-r--r-- 2.6 KB
reg.h -rw-r--r-- 831 bytes
rs6000.h -rw-r--r-- 7.0 KB
serial.c -rw-r--r-- 3.6 KB
simple_alloc.c -rw-r--r-- 3.5 KB
simpleboot.c -rw-r--r-- 2.8 KB
stdio.c -rw-r--r-- 7.1 KB
stdio.h -rw-r--r-- 523 bytes
stdlib.c -rw-r--r-- 934 bytes
stdlib.h -rw-r--r-- 137 bytes
string.S -rw-r--r-- 3.7 KB
string.h -rw-r--r-- 814 bytes
swab.h -rw-r--r-- 816 bytes
treeboot-akebono.c -rw-r--r-- 4.0 KB
treeboot-bamboo.c -rw-r--r-- 1.0 KB
treeboot-currituck.c -rw-r--r-- 3.0 KB
treeboot-ebony.c -rw-r--r-- 844 bytes
treeboot-iss4xx.c -rw-r--r-- 2.0 KB
treeboot-walnut.c -rw-r--r-- 2.2 KB
types.h -rw-r--r-- 549 bytes
uartlite.c -rw-r--r-- 1.7 KB
ugecon.c -rw-r--r-- 2.8 KB
ugecon.h -rw-r--r-- 613 bytes
util.S -rw-r--r-- 2.3 KB
virtex.c -rw-r--r-- 2.9 KB
virtex405-head.S -rw-r--r-- 673 bytes
wii-head.S -rw-r--r-- 3.1 KB
wii.c -rw-r--r-- 3.1 KB
wrapper -rwxr-xr-x 11.3 KB
zImage.coff.lds.S -rw-r--r-- 649 bytes
zImage.lds.S -rw-r--r-- 1.2 KB
zImage.ps3.lds.S -rw-r--r-- 743 bytes

README

back to top