diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-03-11 11:34:44 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-03-11 11:39:05 +0100 |
commit | 3d306bffc5981b083ebb365c51e93c2231ff9b22 (patch) | |
tree | c47a63aca8a473ae610ffb5aa2d8b8e9584e06fc /libbb/safe_poll.c | |
parent | 39dfb4de38fc5b31ca4472dbf45bcde3bb0d6e77 (diff) | |
download | busybox-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