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-12-07 13:58:06 +01:00
2012-03-25 16:17:10 +02:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-03-25 16:17:10 +02:00
2013-03-20 16:14:21 +00:00
2012-02-14 14:52:02 +01:00
2013-04-04 15:04:54 +02:00
2012-03-25 16:17:10 +02:00
2013-04-04 15:04:54 +02:00
2012-02-14 14:52:02 +01:00
2012-08-06 17:49:22 +02:00
2013-03-07 14:29:27 +00:00
2012-09-24 15:53:43 +02:00
2012-03-25 16:17:10 +02:00
2012-02-14 14:52:02 +01:00
2012-12-07 13:58:06 +01:00
2012-03-25 16:17:10 +02:00
2012-02-14 14:52:02 +01:00
2013-02-21 10:29:08 +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-12-07 13:58:06 +01:00
2012-02-14 14:52:02 +01:00
2013-02-21 10:29:08 +00:00
2012-03-25 16:17:10 +02:00
2012-02-14 14:52:02 +01:00
2013-02-06 16:07:43 +01:00
2012-02-14 14:52:02 +01:00
2012-04-09 18:08:26 +02:00
2012-02-14 14:52:02 +01:00
2012-12-07 13:58:06 +01:00
2013-02-26 09:44:24 +00:00
2012-08-27 19:46:41 -04:00
2012-02-14 14:52:02 +01:00
2012-10-23 19:48:38 +02:00
2012-02-14 14:52:02 +01:00
2013-02-06 16:07:43 +01:00
2013-03-20 16:50:01 +00:00
2013-02-26 09:44:24 +00:00
2013-02-06 16:07:43 +01:00
2013-01-14 11:36:25 +01:00
2013-02-26 09:44:24 +00:00
2012-03-25 16:17:10 +02:00
2012-03-02 15:44:48 +00:00
2012-03-25 16:17:10 +02:00
2013-02-06 16:07:43 +01:00
2013-02-11 19:31:57 +01:00
2013-03-20 16:14:21 +00:00
2012-02-14 14:52:02 +01:00
2012-12-07 13:58:06 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-12-07 13:58:06 +01:00
2012-03-25 21:58:27 +02:00
2013-03-20 16:50:01 +00:00
2013-02-16 19:35:19 +01:00
2012-12-07 13:58:06 +01:00
2012-03-25 16:17:10 +02:00
2012-04-09 16:35:57 +02:00
2012-04-09 18:08:26 +02:00
2012-02-14 14:52:02 +01:00
2012-03-25 16:17:10 +02:00
2013-02-10 21:50:34 +01:00
2012-11-26 15:20:18 +00:00
2013-04-04 15:04:54 +02:00
2013-04-04 15:04:53 +02:00
2013-02-26 09:44:24 +00:00
2012-03-25 16:17:10 +02:00
2012-12-07 13:58:06 +01:00
2013-01-31 15:19:11 +00:00
2012-12-07 13:58:06 +01:00
2012-12-07 13:58:06 +01:00
2012-12-07 13:58:06 +01:00
2012-04-09 15:56:20 +02:00
2012-04-09 19:25:18 +02:00
2012-04-09 15:56:20 +02:00
2012-04-09 15:56:20 +02:00
2013-03-07 10:57:38 +00:00
2013-01-23 09:03:03 +00:00
2012-12-07 13:58:06 +01:00
2012-02-14 14:52:02 +01:00