OpenGrok
Cross Reference: clock_settime.c
xref
: /
src
/
lib
/
libc
/
sys
/
clock_settime.c
Home
|
History
|
Annotate
|
Download
|
only in
sys
History log of
/src/lib/libc/sys/clock_settime.c
Revision
Date
Author
Comments
1.12
15-Oct-2011
christos
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
11-Jan-2009
christos
merge christos-time_t
1.10
23-Nov-2007
uebayasi
branches: 1.10.14;
KNF; no variable name in function prototype.
1.9
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.8
07-Oct-2006
kardel
branches: 1.8.8;
- 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;
Pull in <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 clock_settime.c was added on branch nathanw_sa on 2001-10-08 20:21:38 +0000
1.8.8.1
09-Jan-2008
matt
sync with HEAD
1.10.14.1
08-Nov-2008
christos
time_t changes
Indexes created Fri Sep 26 20:09:58 GMT 2025