summaryrefslogtreecommitdiff
path: root/arch/parisc/include
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2016-03-30 14:11:50 +0200
committerHelge Deller <deller@gmx.de>2016-03-31 12:28:37 +0200
commit4f4acc9472e54ce702f1d85fc9e6d57767dec91f (patch)
treedc5c6676e98ccef6f256fae3e24b2560f935191f /arch/parisc/include
parentb562e44f507e863c6792946e4e1b1449fbbac85d (diff)
downloadlinux-4f4acc9472e54ce702f1d85fc9e6d57767dec91f.tar.gz
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/include')
-rw-r--r--arch/parisc/include/asm/compat.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/parisc/include/asm/compat.h b/arch/parisc/include/asm/compat.h
index 0448a2c8eafb..3387307cc33e 100644
--- a/arch/parisc/include/asm/compat.h
+++ b/arch/parisc/include/asm/compat.h
@@ -183,6 +183,13 @@ typedef struct compat_siginfo {
int _band; /* POLL_IN, POLL_OUT, POLL_MSG */
int _fd;
} _sigpoll;
+
+ /* SIGSYS */
+ struct {
+ compat_uptr_t _call_addr; /* calling user insn */
+ int _syscall; /* triggering system call number */
+ compat_uint_t _arch; /* AUDIT_ARCH_* of syscall */
+ } _sigsys;
} _sifields;
} compat_siginfo_t;