CVSROOT:        /cvs
Module name:    src
Changes by:     chel...@cvs.openbsd.org 2018/06/14 19:09:49

Modified files:
        sys/kern       : kern_event.c 

Log message:
kevent: don't reject timeouts greater than 100 million seconds

We already clamp timeouts to 24 hours anyway, so there's no reason
to set EINVAL because the caller's timeout passed an arbitrary
threshold.

In particular, this keeps www/chromium v67 from busy-waiting and
consuming a ton of cpu as described in the bug report here:

https://bugs.chromium.org/p/chromium/issues/detail?id=850450

Prompted by deraadt@, bug report found by pirofti@,
testing by brynet@ and deraadt@.

ok kettenis@

Reply via email to