s390/compat: fix setup_frame32
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 6 Apr 2018 16:10:04 +0000 (18:10 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 10 Apr 2018 05:38:54 +0000 (07:38 +0200)
commit8b09ca746a643ca452cd41a522046a96ee5a55fd
treeda8c9a3ca98220b2142e2edc43a83a3acb7d51cc
parentaff304e7a0e8f926edafcd1e0e4f6da2866e9845
s390/compat: fix setup_frame32

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>
arch/s390/kernel/compat_signal.c