Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sat, 25 Mar 2017 05:47:16 +0000
From: William Pitcock <>
Cc: William Pitcock <>
Subject: [PATCH] s390x: provide a working sigcontext struct definition

For some reason, struct sigcontext was not declared on s390x (even though it is declared on every
other architecture).  Provide a workable equivalent to the structure provided by the kernel.

Signed-off-by: William Pitcock <>
 arch/s390x/bits/signal.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/s390x/bits/signal.h b/arch/s390x/bits/signal.h
index c8665832..832351ce 100644
--- a/arch/s390x/bits/signal.h
+++ b/arch/s390x/bits/signal.h
@@ -43,6 +43,11 @@ typedef struct {
+struct sigcontext {
+	unsigned long oldmask[1];
+	mcontext_t *sregs;
 struct sigaltstack {
 	void *ss_sp;
 	int ss_flags;

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.