s390/compat: fix setup_frame32
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 6 Apr 2018 16:10:04 +0000 (18:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Apr 2018 06:55:12 +0000 (08:55 +0200)
commit4d03a2e6b9b6bd50e31630769f63be8c43cf6fca
tree6d9f321d20c1c0389e79060bb814ecfc5beaed6c
parente025da42c8e6c6208d1dd21f67276d2dcba90e79
s390/compat: fix setup_frame32

commit 8b09ca746a643ca452cd41a522046a96ee5a55fd upstream.

Git commit c60a03fee0e5 ("s390: switch to {get,put}_compat_sigset()")
contains a typo and now copies the wrong pointer to user space.
Use the correct pointer instead.

Reported-and-tested-by: Stefan Liebler <stli@linux.vnet.ibm.com>
Fixes: c60a03fee0e5 ("s390: switch to {get,put}_compat_sigset()")
Cc: <stable@vger.kernel.org> # v4.15+
Cc: Al Viro <viro@zeniv.linux.org.uk>
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/compat_signal.c