mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-09 21:45:53 +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>