Searched hist:25583 (Results 1 - 1 of 1) sorted by relevance

/freebsd-10.1-release/sys/kern/
H A Dkern_time.cdiff 25583 Thu May 08 12:16:25 MDT 1997 peter 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.

Completed in 119 milliseconds