summaryrefslogtreecommitdiff
path: root/arch/aarch64
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2017-09-12 22:32:11 +0000
committerRich Felker <dalias@aerifal.cx>2017-11-05 18:41:27 -0500
commitffd048a07b4bc3bd01bef71a77b49aa9cee947cf (patch)
treeadbb0c92dc05633d00871d30a58512c011b70694 /arch/aarch64
parent6651ef1f060738ee1f50cac1fe6d8ce64c359022 (diff)
downloadmusl-ffd048a07b4bc3bd01bef71a77b49aa9cee947cf.tar.gz
aarch64: add extra_context struct from linux v4.13
allows expanding the signal frame beyond the 4k reserved space. new in linux commit 33f082614c3443d937f50fe936f284f62bbb4a1b
Diffstat (limited to 'arch/aarch64')
-rw-r--r--arch/aarch64/bits/signal.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/aarch64/bits/signal.h b/arch/aarch64/bits/signal.h
index 00fb5f33..5eb3d91f 100644
--- a/arch/aarch64/bits/signal.h
+++ b/arch/aarch64/bits/signal.h
@@ -24,6 +24,7 @@ typedef struct sigcontext {
#define FPSIMD_MAGIC 0x46508001
#define ESR_MAGIC 0x45535201
+#define EXTRA_MAGIC 0x45585401
struct _aarch64_ctx {
unsigned int magic;
unsigned int size;
@@ -38,6 +39,12 @@ struct esr_context {
struct _aarch64_ctx head;
unsigned long esr;
};
+struct extra_context {
+ struct _aarch64_ctx head;
+ unsigned long datap;
+ unsigned int size;
+ unsigned int __reserved[3];
+};
#else
typedef struct {
long double __regs[18+256];