Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
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

Your e-mail address:

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