rngd exits after being stopped and resumed
rngd exits after being stopped and resumed

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 <20d11a9dd0cb0469ac3e7c9142e52e8a01dc31d6@oracle.com>

konstruktoid/linuxkit,yankcrime/linuxkit,yankcrime/linuxkit,konstruktoid/linuxkit,deitch/linuxkit,deitch/linuxkit,konstruktoid/linuxkit,furious-luke/linuxkit,konstruktoid/linuxkit,JohnnyLeone/linuxkit,djs55/linuxkit,djs55/linuxkit,justincormack/linuxkit,JohnnyLeone/linuxkit,linuxkit/linuxkit,furious-luke/linuxkit,furious-luke/linuxkit,djs55/linuxkit,rn/linuxkit,konstruktoid/linuxkit,JohnnyLeone/linuxkit,justincormack/linuxkit,rn/linuxkit,yankcrime/linuxkit,justincormack/linuxkit,justincormack/linuxkit,linuxkit/linuxkit,deitch/linuxkit,rn/linuxkit,rn/linuxkit,yankcrime/linuxkit,deitch/linuxkit,linuxkit/linuxkit,furious-luke/linuxkit,djs55/linuxkit,justincormack/linuxkit,JohnnyLeone/linuxkit,deitch/linuxkit,rn/linuxkit,justincormack/linuxkit,yankcrime/linuxkit,djs55/linuxkit,JohnnyLeone/linuxkit,linuxkit/linuxkit,konstruktoid/linuxkit,linuxkit/linuxkit,yankcrime/linuxkit,furious-luke/linuxkit