random: Use poll instead of select.
* random/rndlinux.c (open_device): Use poll. (_gcry_rndlinux_gather_random): Use poll.
Merging a patch for Fedora/RedHat for _gcry_rndlinux_gather_random.
Also change open_device for completeness. Use of sleep(3) would be OK
here, but it may use SIGALRM on some systems, which is not good as a
- GnuPG-bug-id: T5637
- Co-authored-by: Tomáš Mráz <email@example.com>
- Signed-off-by: NIIBE Yutaka <firstname.lastname@example.org>