Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
linux_udev: Retry poll() on EINTR
The poll() syscall may temporarily fail when it is interrupted by a signal; -1 is returned and errno is set to EINTR. When this occurred, the udev event thread exited. Instead, since this is a temporary failure, just try the call again. <https://www.gnu.org/software/libc/manual/html_node/Interrupted-Primitives.html> Signed-off-by: Romain Vimont <rom@rom1v.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
- Loading branch information