diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-07-12 00:14:40 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-07-12 00:14:40 -0400 |
commit | 5fac93db379cd82bd2d661715b360924eccca82c (patch) | |
tree | 6dca85a145240f1bef68934db12a3da17f633e4c | |
parent | 92f8396b0c8e4f146563b87f46137484cfb36e31 (diff) | |
download | musl-5fac93db379cd82bd2d661715b360924eccca82c.tar.gz musl-5fac93db379cd82bd2d661715b360924eccca82c.tar.xz musl-5fac93db379cd82bd2d661715b360924eccca82c.zip |
fix mips mcontext_t structure size
otherwise offs in ucontext_t will be wrong, and break code that inspects or modifies the signal makes (including cancellation code).
-rw-r--r-- | arch/mips/bits/signal.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/mips/bits/signal.h b/arch/mips/bits/signal.h index aed372eb..bcc6f5cb 100644 --- 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 { |