OSDN Git Service

s390: fix compat system call table
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 6 Dec 2017 15:11:27 +0000 (16:11 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 16 Dec 2017 09:33:49 +0000 (10:33 +0100)
commitbb47cf7f8e470a1af81a43cb6910c0626169a9b6
tree7e4f1695c16ab167cd26676ed29c11e4b419e6d8
parentdc41b6e35f9379399443785165cba97e1f46ab37
s390: fix compat system call table

commit e779498df587dd2189b30fe5b9245aefab870eb8 upstream.

When wiring up the socket system calls the compat entries were
incorrectly set. Not all of them point to the corresponding compat
wrapper functions, which clear the upper 33 bits of user space
pointers, like it is required.

Fixes: 977108f89c989 ("s390: wire up separate socketcalls system calls")
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/s390/kernel/syscalls.S