mirror of
git://git.musl-libc.org/musl
synced 2025-03-06 20:48:29 +01:00
fix reversed argument order x86_64 sigsetjmp's call to sigprocmask
this caused sigsetjmp not to save the signal mask but instead to clobber it with whatever happened to be in the sigjmb_buf prior to the call.
This commit is contained in:
parent
71ae0c724d
commit
ae0c1de530
1 changed files with 2 additions and 2 deletions
|
@ -6,8 +6,8 @@ sigsetjmp:
|
|||
movq %rsi,64(%rdi)
|
||||
jz 1f
|
||||
pushq %rdi
|
||||
leaq 72(%rdi),%rsi
|
||||
xorl %edx,%edx
|
||||
leaq 72(%rdi),%rdx
|
||||
xorl %esi,%esi
|
||||
movl $2,%edi
|
||||
call sigprocmask
|
||||
popq %rdi
|
||||
|
|
Loading…
Add table
Reference in a new issue