mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-25 02:13:43 +00:00
Linux has documented but somewhat unusual behavior around SIGSTOP/SIGCONT and certain syscalls, of which epoll_wait(2) is one. In this particular case, rngd exited unexpectedly after getting ptrace'd mid-epoll_wait. Fix this by handling EINTR from this syscall, and continuing to add entropy and wait. Signed-off-by: Krister Johansen <krister.johansen@oracle.com>