ltp icon indicating copy to clipboard operation
ltp copied to clipboard

sigtimedwait01,sigwaitinfo01 infinite loop (timeout) on musl

Open richiejp opened this issue 2 years ago • 0 comments

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.

richiejp avatar Sep 28 '23 07:09 richiejp