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
..
2012-07-15 22:30:15 +02:00
2012-03-05 22:32:55 +01:00
2013-02-26 09:44:20 +00:00
2012-10-30 13:55:42 +01:00
2012-07-15 22:30:15 +02:00
2012-03-25 21:58:14 +02:00
2012-07-16 14:00:56 +02:00
2012-03-25 21:58:14 +02:00
2012-06-16 16:22:51 +00:00
2012-03-25 21:58:14 +02:00
2012-09-24 15:53:43 +02:00
2010-03-05 15:05:11 +00:00
2012-07-15 22:30:15 +02:00
2010-04-23 20:23:33 +00:00
2013-02-26 09:44:20 +00:00
2013-01-14 11:36:26 +01:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-10-30 13:55:42 +01:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-08-09 00:16:36 +02:00
2012-11-15 16:07:29 +01:00
2011-07-04 02:51:12 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-07-15 22:30:15 +02:00
2012-03-25 21:58:14 +02:00
2012-06-07 15:15:02 +02:00
2012-07-15 22:30:15 +02:00
2012-07-15 22:30:15 +02:00
2012-09-26 02:18:00 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-07-15 22:30:15 +02:00
2012-08-12 23:30:54 +02:00
2012-03-25 21:58:14 +02:00
2012-09-24 15:53:43 +02:00
2013-01-14 11:36:26 +01:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2012-03-25 21:58:14 +02:00
2013-01-14 11:36:26 +01:00