minix/servers/pm
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
..
alarm.c libc: add clock_getres()/clock_gettime() system calls. 2013-04-04 15:04:53 +02:00
break.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
const.h Fix a few compile time warnings 2010-07-02 12:41:19 +00:00
exec.c various warning/errorwarning fixes for gcc47 2012-08-27 16:19:18 +02:00
forkexit.c vm: fix a null dereference on out-of-memory 2012-11-09 18:36:51 +01:00
getset.c Spring cleanup 2013-03-06 09:56:08 +00:00
glo.h No more intel/minix segments. 2012-07-15 22:30:15 +02:00
main.c Restore poweroff to some of it's former glory (on QEMU, at least) 2012-11-21 20:28:37 +01:00
Makefile Cleanup: Remove minix.bootprog.mk 2013-03-06 11:56:56 +01:00
mcontext.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
misc.c Move MINIX reboot definitions into minix/reboot.h 2013-03-20 16:50:01 +00:00
mproc.h Implement issetugid syscall 2011-11-28 10:03:43 +00:00
param.h libc: add clock_settime() system call. 2013-04-04 15:04:54 +02:00
pm.h Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
profile.c profiling related cleanup 2012-07-15 21:56:55 +02:00
proto.h libc: add clock_settime() system call. 2013-04-04 15:04:54 +02:00
schedule.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
signal.c PM: do not panic if sys_sigsend returns ENOMEM 2012-11-09 16:11:02 +00:00
table.c libc: add clock_settime() system call. 2013-04-04 15:04:54 +02:00
time.c libc: add clock_settime() system call. 2013-04-04 15:04:54 +02:00
trace.c drop from segments physcopy/vircopy invocations 2012-06-18 12:28:40 +00:00
type.h Removed 'system process' magic from PM and FS. 2005-05-13 08:57:08 +00:00
utility.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00