freebsd-dev/contrib/ntp/adjtimed
Ollivier Robert eb6d21b4ca Merge 4.2.4p8 into contrib (r200452 & r200454).
Subversion is being difficult here so take a hammer and get it in.

MFC after:		2 weeks
Security:		CVE-2009-3563
2009-12-15 14:58:10 +00:00
..
adjtimed.c
Makefile.am Merge ntpd & friends 4.2.4p5 from vendor/ntp/dist into head. Next commit 2008-08-22 15:58:00 +00:00
Makefile.in Merge 4.2.4p8 into contrib (r200452 & r200454). 2009-12-15 14:58:10 +00:00
README

------------------------------------------------------------------------------
The adjtimed daemon emulates the BSD adjtime(2) system call.  The
adjtime() routine communicates with this daemon via SYSV messages.

The emulation uses an undocumented kernel variable (as of 6.0/2.0
and later releases) and as such it cannot be guaranteed to work in
future HP-UX releases.  Perhaps HP-UX will have a real adjtime(2)
system call in the future.

Author: Tai Jin (tai@sde.hp.com)
------------------------------------------------------------------------------

IMPORTANT NOTE: This stuff must be compiled with no optimization !!

NOTE: This code is known to work as of 8.0 on s300's, s700's and s800's.
      PLEASE do not modify it unless you have access to kernel sources
      and fully understand the implications of any changes you are making.
      One person already has trashed adjtimed by making it do "the right 
      thing".  This is not an exact replacement for BSD adjtime(2), don't
      try to make it into one.

	 -- Ken