minix/servers
Thomas Cort 516fec97d9 libc: add clock_settime() system call.
This also adds the sys_settime() kernel call which allows for the adjusting
of the clock named realtime in the kernel. The existing sys_stime()
function is still needed for a separate job (setting the boottime). The
boottime is set in the readclock driver. The sys_settime() interface is
meant to be flexible and will support both clock_settime() and adjtime()
when adjtime() is implemented later.

settimeofday() was adjusted to use the clock_settime() interface.

One side note discovered during testing: uptime(1) (part of the last(1)),
uses wtmp to determine boottime (not Minix's times(2)). This leads `uptime`
to report odd results when you set the time to a time prior to boottime.
This isn't a new bug introduced by my changes. It's been there for a while.
2013-04-04 15:04:54 +02:00
..
devman Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
ds Cleanup: Remove minix.bootprog.mk 2013-03-06 11:56:56 +01:00
ext2 libc: add clock_getres()/clock_gettime() system calls. 2013-04-04 15:04:53 +02:00
hgfs Create SFFS library out of HGFS 2012-04-09 18:08:26 +02:00
inet libc: add clock_getres()/clock_gettime() system calls. 2013-04-04 15:04:53 +02:00
init Move MINIX reboot definitions into minix/reboot.h 2013-03-20 16:50:01 +00:00
ipc Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
is libc: add clock_getres()/clock_gettime() system calls. 2013-04-04 15:04:53 +02:00
iso9660fs libc: add clock_getres()/clock_gettime() system calls. 2013-04-04 15:04:53 +02:00
lwip LWIP - avoid an assert when a driver restarts 2013-03-25 16:51:25 +01:00
mfs libc: add clock_getres()/clock_gettime() system calls. 2013-04-04 15:04:53 +02:00
pfs libc: add clock_getres()/clock_gettime() system calls. 2013-04-04 15:04:53 +02:00
pm libc: add clock_settime() system call. 2013-04-04 15:04:54 +02:00
procfs libc: add clock_getres()/clock_gettime() system calls. 2013-04-04 15:04:53 +02:00
rs libc: add clock_getres()/clock_gettime() system calls. 2013-04-04 15:04:53 +02:00
sched Cleanup: Remove minix.bootprog.mk 2013-03-06 11:56:56 +01:00
vbfs Add VBFS: VirtualBox Shared Folder File System 2012-04-11 00:27:48 +02:00
vfs libc: add clock_settime() system call. 2013-04-04 15:04:54 +02:00
vm libc: add clock_getres()/clock_gettime() system calls. 2013-04-04 15:04:53 +02:00
Makefile lwip (inet's alternative) is compiled by default 2013-03-25 16:51:25 +01:00
Makefile.inc Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00