Bugzilla – Attachment 2425 Details for
Bug 2228
ssh-agent passwords do not timeout properly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
openssh-6.4p1-clock-boottime.patch (text/plain), 496 bytes, created by
John Haxby
on 2014-04-16 22:03:45 AEST
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
John Haxby
Created:
2014-04-16 22:03:45 AEST
Size:
496 bytes
patch
obsolete
>diff -up ./misc.c.orig ./misc.c >--- ./misc.c.orig 2014-04-16 11:51:46.951537709 +0100 >+++ ./misc.c 2014-04-16 11:53:45.007889732 +0100 >@@ -870,8 +870,13 @@ monotime(void) > static int gettime_failed = 0; > > if (!gettime_failed) { >+#if defined(CLOCK_BOOTTIME) >+ if (clock_gettime(CLOCK_BOOTTIME, &ts) == 0) >+ return (ts.tv_sec); >+#else > if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0) > return (ts.tv_sec); >+#endif > debug3("clock_gettime: %s", strerror(errno)); > gettime_failed = 1; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2228
:
2425
|
2427