RE: Different instances with markedly different times
Posted in 2010
"FTPL uses the library preload mechanism and thus cannot work with statically linked binaries or binaries that have the setuid-flag set (e.g., suidroot programs like "ping" or "passwd"). " > Date: Sat, 1 May 2010 09:54:22 +0100 > From: clive@serendipita.com > To: informix-list@iiug.org > Subject: Re: Different instances with markedly different times > > On 01/05/2010 09:46, Clive Eisen wrote: > > > > On 01/05/2010 08:44, Clive Eisen wrote: > >> > >> On 30/04/2010 15:29, Fernando Nunes wrote: > >>> I have two useless ideas: > >>> > >>> 1- Overload the OS function that IDS uses (is it gettimeofday()?) and > >>> give it some "intelligence" > >> > >> That's the one. Use LD_PRELOAD to slug gettimeofday by the offset - > >> should only be a few lines of C > >> > >> > >> > > in fact here is an almost complete example > > > > http://uberhip.com/people/godber/interception/html/slide_5.html > > > > It actually turns xclock into a stopwatch but everything you need is there. > > > > I would implement it with an environment variable specifying the offset > > in seconds - if the ENV is not set then assume 0 > > > > > > > And lo the lord google provides > > http://www.code-wizards.com/projects/libfaketime/ > > All you need > > > > -- > This message has been scanned for viruses and > dangerous content by OpenProtect(http://www.openprotect.com), and is > believed to be clean. > > _______________________________________________ > Informix-list mailing list > Informix-list@iiug.org > http://www.iiug.org/mailman/listinfo/informix-list _________________________________________________________________ The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail. http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4