CVSROOT:        /cvs
Module name:    src
Changes by:     chel...@cvs.openbsd.org 2020/03/20 11:17:32

Modified files:
        sys/kern       : sys_futex.c 

Log message:
futex(2): futex_wait(): ensure timeout is set when calling rwsleep_nsec(9)

rwsleep_nsec(9) will not set a timeout if the nsecs parameter is
equal to INFSLP (UINT64_MAX).  We need to limit the duration to
MAXTSLP (UINT64_MAX - 1) to ensure a timeout is set.

Reply via email to