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
..
2013-02-26 09:44:20 +00:00
2013-02-26 09:44:20 +00:00
2013-02-26 09:44:20 +00:00
2013-02-26 09:44:20 +00:00
2013-02-26 09:44:20 +00:00
2013-02-26 09:44:20 +00:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2009-07-14 09:43:33 +00:00
2011-04-21 13:18:00 +00:00
2013-02-09 18:51:56 +01:00
2013-02-26 09:44:20 +00:00
2011-11-28 10:03:43 +00:00
2011-11-28 10:03:43 +00:00
2013-02-28 10:08:54 +00:00
2013-02-28 10:08:54 +00:00
2012-03-25 16:17:10 +02:00
2013-01-25 11:54:24 +00:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2013-02-04 12:04:35 +01:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2013-02-26 09:44:20 +00:00
2013-02-26 09:44:20 +00:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 21:58:27 +02:00
2012-03-25 16:17:10 +02:00
2011-04-21 13:18:00 +00:00
2013-02-06 17:40:04 +01:00
2013-02-26 09:44:20 +00:00
2013-02-26 09:44:20 +00:00
2011-12-21 12:59:22 +00:00
2012-03-25 21:58:26 +02:00
2012-03-25 16:17:10 +02:00
2012-03-16 17:06:24 +01:00
2013-02-26 09:44:20 +00:00
2012-03-25 16:17:10 +02:00
2013-02-26 09:44:20 +00:00
2011-11-28 10:07:55 +00:00
2011-11-28 10:07:55 +00:00
2011-11-14 10:07:49 +00:00
2013-03-08 15:45:53 +00:00
2010-08-05 13:35:41 +00:00
2012-03-25 16:17:10 +02:00
2012-08-28 13:49:27 -04:00
2011-11-28 10:03:43 +00:00
2012-04-12 02:55:04 +02:00
2013-02-28 10:08:54 +00:00