aboutsummaryrefslogtreecommitdiff
path: root/libbb/safe_poll.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-03-11 11:34:44 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2018-03-11 11:39:05 +0100
commit3d306bffc5981b083ebb365c51e93c2231ff9b22 (patch)
treec47a63aca8a473ae610ffb5aa2d8b8e9584e06fc /libbb/safe_poll.c
parent39dfb4de38fc5b31ca4472dbf45bcde3bb0d6e77 (diff)
downloadbusybox-3d306bffc5981b083ebb365c51e93c2231ff9b22.tar.gz
udhcpd: clamp down huge auto_times to ~2M seconds, better EINTR poll handling
EINTR _should_ only happen on two signals we trap, and safe_poll _should_ work here just fine, but there were kernel bugs where spurious EINTRs happen (e.g. on ptrace attach). Be safe. function old new delta udhcpd_main 1437 1468 +31 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/safe_poll.c')
0 files changed, 0 insertions, 0 deletions