[Bug 2228] ssh-agent passwords do not timeout properly
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Thu Apr 17 17:35:03 EST 2014
https://bugzilla.mindrot.org/show_bug.cgi?id=2228
--- Comment #2 from John Haxby <john.haxby at oracle.com> ---
I agree, I had thought the same thing overnight. There are possible
cases where CLOCK_BOOTIME is defined at compile time but it not
available at run time so the fallback is definitely needed. (I
actually have the opposite case: CLOCK_BOOTIME is available at run time
but not defined at compile time, but that's my problem, not yours.)
Your patch has a logical problem though: it won't compile if
CLOCK_BOOTTIME is defined but CLOCK_MONOTONIC is. In practice this
won't happen, but perhaps you either want to surround the
CLOCK_MONOTONIC call with a #ifdef or you want to remove the test for
defined(CLOCK_BOOTTIME) from the surrounding #if.
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list