K 10 svn:author V 5 peter K 8 svn:date V 27 1997-05-08T14:16:25.000000Z K 7 svn:log V 544 Implementation of posix-style clock_* and nanosleep syscalls as implemented in NetBSD. The core of settimeofday() is moved to a seperate static function settime() which both clock_settime() and settimeofday() call. Note that I picked up the securelevel > 1 check from NetBSD that prevents the clock being set backwards in high securelevel mode (this was a hole that allowed resetting of inode access timestamps to arbitary values) Obtained from: mostly from NetBSD, but the settime() function is from our gettimeofday(), some tweaks by me. END