OpenGrok
Cross Reference: ntp_adjtime.c
xref
: /
src
/
lib
/
libc
/
sys
/
ntp_adjtime.c
Home
|
History
|
Annotate
|
Download
|
only in
sys
History log of
/src/lib/libc/sys/ntp_adjtime.c
Revision
Date
Author
Comments
1.13
20-Mar-2012
matt
Convert to C89 prototypes. Remove use of __P
1.12
15-Oct-2011
christos
branches: 1.12.2;
close on exec fixes:
- open + fcntl -> open O_CLOEXEC
- configuration database file descriptors that can stay open are now opened
fopen(db, "re")
1.11
23-Nov-2007
uebayasi
KNF; no variable name in function prototype.
1.10
22-Nov-2007
dsl
Change all the syscall C 'glue' functions (most of which just add in an
extra argument to ensure that 'off_t' parameters are even numbered
parameters for stack alignment reasons on 32 bit systems) to use a normal
'syscall' wrapper for __foo instead of using __syscall(SYS_foo, ... ).
This saves all the faffing needed to get a 32bit return value on sparc.
Auto-generate the extra syscall wrappers.
Move swapon.c into the correct list (swapon() uses swapctl()).
This probably means there are very few users of syscall() and __syscall() left.
1.9
17-Jan-2007
hubertf
branches: 1.9.4;
Remove more duplicate #includes, and a few spurious whitespaces at EOL
From Slava Semushin <slava.semushin@gmail.com>
1.8
07-Oct-2006
kardel
- simplify code
- remove any 'permission checks' via geteuid() - with upcoming
security models these might not match the model any more
- this also fixes a bug where ntp_adjtime() was denied (EPERM)
even though only a legit read status was performed
1.7
09-Mar-2006
christos
Do not use SCARG() in userland. Eliminates need for <sys/systm.h>.
1.6
12-Jun-2005
lukem
Add missing __RCSID()
1.5
16-Jul-2003
cb
Mark __clockctl_fd close-on-exec to avoid unintentionally leaking
time setting privileges across an exec.
1.4
18-Jan-2003
thorpej
Merge the nathanw_sa branch.
1.3
09-Dec-2001
manu
- Changed clocktl interface to use syscallargs structures
- Implemented keep-state so that we don't have to open /dev/clockctl each time.
1.2
17-Sep-2001
thorpej
branches: 1.2.2;
Need string.h for memcpy() prototype.
1.1
16-Sep-2001
manu
Added support to use the clockctl driver if present for adjtime(),
clock_settime(), ntp_adjtime() and settimeofday(). The super-user still
always use the plain system call.
Approved by Christos
1.2.2.3
28-Jan-2002
nathanw
Catch up to -current.
1.2.2.2
08-Oct-2001
nathanw
Catch up to -current.
1.2.2.1
17-Sep-2001
nathanw
file ntp_adjtime.c was added on branch nathanw_sa on 2001-10-08 20:21:58 +0000
1.9.4.1
09-Jan-2008
matt
sync with HEAD
1.12.2.1
17-Apr-2012
yamt
sync with head
Indexes created Mon Sep 29 03:10:08 GMT 2025