On Tuesday, October 16, 2012 1:51:00 AM UTC+8, Felipe Blauth wrote:
> Hello.
> 
> I'd like to build a custom version of ntpd with a single change: instead
> of synchronizing with operating system clock, it would synchronize with a
> custom clock.
>
> I can mimic operating system calls (like gettimeofday and settimeofday).
> I'm just starting out and would appreciate some directions on doing this.
> If someone could point me a file or a function, it would be of great help.
> 
> Thank you
> 
> 
> -- 
> Felipe Menegola Blauth

LD_PRELOAD maybe your answer, it allows you to replace functions from
shared libraries loaded by ntpd with your own.

_______________________________________________
questions mailing list
[email protected]
http://lists.ntp.org/listinfo/questions

Reply via email to