possible bug in ping -i implementation

Gianluigi Tiesi sherpya at netfarm.it
Fri Aug 17 14:26:27 UTC 2018


On 08/15/2018 01:32 AM, Gianluigi Tiesi wrote:
> 
> After 36d198ec6dc8f214a1e9122b993581613e6d7f12 ping stopped working on 
> android, now it calls ualarm instead of alarm, the default value for 
> interval_us becames 1 * 1000000
> 
> 
> ualarm returns
> 
> EINVAL usecs or interval is not smaller than 1000000.  (On systems where 
> that is considered an error.)
> 
> same behavior using qemu-static
> 
> 

if I understand ualarm (that uses setitimer) can be used only to wait a 
time < 1 second, so I suspect ping should use a different way to wait



-- 
Gianluigi Tiesi <sherpya at netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?


More information about the busybox mailing list