projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92f8396
)
fix mips mcontext_t structure size
author
Rich Felker
<dalias@aerifal.cx>
Thu, 12 Jul 2012 04:14:40 +0000
(
00:14
-0400)
committer
Rich Felker
<dalias@aerifal.cx>
Thu, 12 Jul 2012 04:14:40 +0000
(
00:14
-0400)
otherwise offs in ucontext_t will be wrong, and break code that
inspects or modifies the signal makes (including cancellation code).
arch/mips/bits/signal.h
patch
|
blob
|
history
diff --git
a/arch/mips/bits/signal.h
b/arch/mips/bits/signal.h
index aed372ebe5fcfa2dd6fdd63cbda8d875d3de29bf..bcc6f5cb9522022b1d7587f0ced547d91e60d483 100644
(file)
--- a/
arch/mips/bits/signal.h
+++ b/
arch/mips/bits/signal.h
@@
-2,7
+2,11
@@
|| defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
typedef struct {
- unsigned long __regs[21];
+ unsigned __mc1[2];
+ unsigned long long __mc2[65];
+ unsigned __mc3[5];
+ unsigned long long __mc4[2];
+ unsigned __mc5[6];
} mcontext_t;
typedef struct __ucontext {