OpenGrok
Cross Reference: settimeofday.c
xref
: /
src
/
lib
/
libc
/
sys
/
settimeofday.c
Home
|
History
|
Annotate
|
Download
|
only in
sys
History log of
/src/lib/libc/sys/settimeofday.c
Revision
Date
Author
Comments
1.14
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.13
11-Jan-2009
christos
merge christos-time_t
1.12
23-Nov-2007
uebayasi
branches: 1.12.14;
KNF; no variable name in function prototype.
1.11
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.10
07-Oct-2006
kardel
branches: 1.10.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.9
17-Aug-2006
jnemeth
PR/34218 -- Matt Fleming -- date hangs when root trys to set time
backwards while at securelevel >= 2
1.8
09-Mar-2006
christos
Do not use SCARG() in userland. Eliminates need for <sys/systm.h>.
1.7
12-Jun-2005
lukem
Add missing __RCSID()
1.6
27-Apr-2004
kleink
POSIX-2001: Add restrict keywords to gettimeofday(2) and setitimer(2);
further deprecate struct timezone usage by changing `tzp' argument to
gettimeofday() to void *; align utimes(2) declaration by changing `times`
argument from struct timeval * to struct timeval[2]. From Murray
Armfield in PR standards/25331.
In due curse, reflect these changes in futimes(2), lutimes(2), and
settimeofday(2).
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 settimeofday.c was added on branch nathanw_sa on 2001-10-08 20:22:07 +0000
1.10.8.1
09-Jan-2008
matt
sync with HEAD
1.12.14.1
08-Nov-2008
christos
time_t changes
Indexes created Thu Oct 02 01:09:59 GMT 2025