diff options
author | Helge Deller <deller@gmx.de> | 2016-03-30 14:11:50 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2016-03-31 12:28:37 +0200 |
commit | 4f4acc9472e54ce702f1d85fc9e6d57767dec91f (patch) | |
tree | dc5c6676e98ccef6f256fae3e24b2560f935191f /arch/parisc/kernel/signal32.c | |
parent | b562e44f507e863c6792946e4e1b1449fbbac85d (diff) | |
download | linux-stable-4f4acc9472e54ce702f1d85fc9e6d57767dec91f.tar.gz linux-stable-4f4acc9472e54ce702f1d85fc9e6d57767dec91f.tar.bz2 linux-stable-4f4acc9472e54ce702f1d85fc9e6d57767dec91f.zip |
parisc: Fix SIGSYS signals in compat case
Signed-off-by: Helge Deller <deller@gmx.de>
Cc: stable@vger.kernel.org # v4.5
Diffstat (limited to 'arch/parisc/kernel/signal32.c')
-rw-r--r-- | arch/parisc/kernel/signal32.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/parisc/kernel/signal32.c b/arch/parisc/kernel/signal32.c index 984abbee71ca..c342b2e17492 100644 --- a/arch/parisc/kernel/signal32.c +++ b/arch/parisc/kernel/signal32.c @@ -371,6 +371,11 @@ copy_siginfo_to_user32 (compat_siginfo_t __user *to, const siginfo_t *from) val = (compat_int_t)from->si_int; err |= __put_user(val, &to->si_int); break; + case __SI_SYS >> 16: + err |= __put_user(ptr_to_compat(from->si_call_addr), &to->si_call_addr); + err |= __put_user(from->si_syscall, &to->si_syscall); + err |= __put_user(from->si_arch, &to->si_arch); + break; } } return err; |