We need to store the flagged passed to sigsetjmp(3) and use it in
authorkettenis <kettenis@openbsd.org>
Sun, 20 Jun 2021 20:43:50 +0000 (20:43 +0000)
committerkettenis <kettenis@openbsd.org>
Sun, 20 Jun 2021 20:43:50 +0000 (20:43 +0000)
commitce0d5a02cdcd01256b1a1e154cf89bb0d2bbe307
treea3b7b049cebc3e1dfd186c11f0add5991e47beda
parent0062b6cc7ec0e46b84463f582a31e528d64bcb4a
We need to store the flagged passed to sigsetjmp(3) and use it in
siglongjmp(3) to decide wehther we need to restore the signal mask.

ok deraadt@, drahn@
lib/libc/arch/riscv64/gen/sigsetjmp.S