Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <59FB1E003EF3A943BD6BAD197ABD4D6A272CE7@dggemi524-mbx.china.huawei.com>
Date: Mon, 13 May 2019 01:36:15 +0000
From: "zhaohang (F)" <zhaohang14@...wei.com>
To: "musl@...ts.openwall.com" <musl@...ts.openwall.com>
Subject: src/thread/__timedwait.c: Clock type

In the function _timedwait_cp, 'clk' indicates the type of clock used, CLOCK_REALTIME or CLOCK_MONOTONIC.

when we call __syscall_cp in this function, the fifth parameter 'top' is calculated based on the clock type.

However, the third parameter is not set according to the clock type. CLOCK_MONOTONIC is used by default.

Is this a bug? Or other considerations?

Thanks,

Zhao Hang

Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.