Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 14 Mar 2013 10:08:46 +0100
From: magnum <>
Subject: Re: clock err in timers (alarm, status ...) and fix

On 14 Mar, 2013, at 9:15 , "Costin Enache" <> wrote:
> John uses for the alarm, status, save and probably other timers the sysconf(_SC_CLK_TCK) value, which, at least on Linux, is hard coded to a value of 100. This means that the timers do not really work. On my system, an abort timer set at 10 sec will abort after approx. 8 seconds. It is ok to use the clock ticks value for timer polling (puts no additional stress on the system), but the ticks cannot be used as seconds. I suggest the follwing mods against the bleeding or similar, to fix the abort and status timers (for me works fine):

Thanks. Could you please re-post the complete patch attached as a file? I'm lazy.

Solar, any comments?


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.