xref: /freebsd/contrib/ntp/adjtimed/README (revision c0b746e5e8d9479f05b3749cbf1f73b8928719bd)
1c0b746e5SOllivier Robert------------------------------------------------------------------------------
2c0b746e5SOllivier RobertThe adjtimed daemon emulates the BSD adjtime(2) system call.  The
3c0b746e5SOllivier Robertadjtime() routine communicates with this daemon via SYSV messages.
4c0b746e5SOllivier Robert
5c0b746e5SOllivier RobertThe emulation uses an undocumented kernel variable (as of 6.0/2.0
6c0b746e5SOllivier Robertand later releases) and as such it cannot be guaranteed to work in
7c0b746e5SOllivier Robertfuture HP-UX releases.  Perhaps HP-UX will have a real adjtime(2)
8c0b746e5SOllivier Robertsystem call in the future.
9c0b746e5SOllivier Robert
10c0b746e5SOllivier RobertAuthor: Tai Jin (tai@sde.hp.com)
11c0b746e5SOllivier Robert------------------------------------------------------------------------------
12c0b746e5SOllivier Robert
13c0b746e5SOllivier RobertIMPORTANT NOTE: This stuff must be compiled with no optimization !!
14c0b746e5SOllivier Robert
15c0b746e5SOllivier RobertNOTE: This code is known to work as of 8.0 on s300's, s700's and s800's.
16c0b746e5SOllivier Robert      PLEASE do not modify it unless you have access to kernel sources
17c0b746e5SOllivier Robert      and fully understand the implications of any changes you are making.
18c0b746e5SOllivier Robert      One person already has trashed adjtimed by making it do "the right
19c0b746e5SOllivier Robert      thing".  This is not an exact replacement for BSD adjtime(2), don't
20c0b746e5SOllivier Robert      try to make it into one.
21c0b746e5SOllivier Robert
22c0b746e5SOllivier Robert	 -- Ken
23