mirror of
git://git.musl-libc.org/musl
synced 2024-12-22 14:43:04 +00:00
fix powerpc ucontext, again..
it should now really match the kernel. some of the removed padding corresponded to the difference between user and kernel sigset_t. the space at the end was redundant with the uc_mcontext member and seems to have been added as a result of misunderstanding glibc's definition versus the kernel's.
This commit is contained in:
parent
144dc4f479
commit
98f56b12ce
@ -55,14 +55,9 @@ typedef struct __ucontext {
|
||||
stack_t uc_stack;
|
||||
int uc_pad[7];
|
||||
mcontext_t *uc_regs;
|
||||
|
||||
sigset_t uc_sigmask;
|
||||
|
||||
int uc_maskext[30];
|
||||
int uc_pad2[3];
|
||||
|
||||
mcontext_t uc_mcontext;
|
||||
char uc_reg_space[sizeof(mcontext_t) + 12];
|
||||
} ucontext_t;
|
||||
|
||||
#define SA_NOCLDSTOP 1U
|
||||
|
Loading…
Reference in New Issue
Block a user