ltp
ltp copied to clipboard
sigtimedwait01,sigwaitinfo01 infinite loop (timeout) on musl
The test calls sigtimedwait with an empty set. Then sends SIGUSR1 to the waiting process. This causes the sigtimedwait syscall to return with EINTR, but musl helpfully restarts the system call. So we just loop inside libc.