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.
		
			
				
	
	
		
			79 lines
		
	
	
		
			769 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			79 lines
		
	
	
		
			769 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
_lwp_*
 | 
						|
acct
 | 
						|
adjtime
 | 
						|
lchmod
 | 
						|
lchown
 | 
						|
clone
 | 
						|
extattr_*
 | 
						|
fhopen
 | 
						|
fhstat
 | 
						|
fhstatvfs
 | 
						|
fsync_range
 | 
						|
getfh
 | 
						|
__setlogin
 | 
						|
getpgid
 | 
						|
setrlimit
 | 
						|
getrusage
 | 
						|
getsid
 | 
						|
getvfsstat
 | 
						|
issetugid /* WARNING: Always returns 0 in this impl. */
 | 
						|
kevent
 | 
						|
kqueue
 | 
						|
ktrace
 | 
						|
lfs_*
 | 
						|
madvise
 | 
						|
mincore
 | 
						|
minherit
 | 
						|
mlock
 | 
						|
mlockall
 | 
						|
munlock
 | 
						|
munlockall
 | 
						|
modctl
 | 
						|
mprotect
 | 
						|
mq_timedreceive
 | 
						|
mq_timedsend
 | 
						|
mremap
 | 
						|
msgctl
 | 
						|
msgget
 | 
						|
msgrcv
 | 
						|
msgsnd
 | 
						|
msync
 | 
						|
nfs_svc
 | 
						|
pmc_*
 | 
						|
pollts
 | 
						|
posix_fadvise
 | 
						|
posix_madvise
 | 
						|
pselect /* Implementable as select wrapper */
 | 
						|
preadv
 | 
						|
pwritev
 | 
						|
quotactl
 | 
						|
rasctl
 | 
						|
sa_*
 | 
						|
_sched_*
 | 
						|
semconfig
 | 
						|
setpgid
 | 
						|
setpgrp
 | 
						|
setregid
 | 
						|
setreuid
 | 
						|
sigaltstack
 | 
						|
sigqueue
 | 
						|
sigqueueinfo
 | 
						|
sigstack
 | 
						|
sigtimedwait
 | 
						|
sigwait
 | 
						|
sigwaitinfo
 | 
						|
swapctl
 | 
						|
swapon
 | 
						|
sysarch
 | 
						|
timer_create
 | 
						|
timer_delete
 | 
						|
timer_gettime
 | 
						|
timer_settime
 | 
						|
undelete
 | 
						|
utimes
 | 
						|
lutimes
 | 
						|
futimes
 | 
						|
utrace
 | 
						|
uuidgen
 | 
						|
vadvise
 |