diff options
author | peter <peter@FreeBSD.org> | 1997-05-08 14:16:25 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-05-08 14:16:25 +0000 |
commit | a38455ecc107448cf4462b160fc430d5cccfa795 (patch) | |
tree | 302e318895fdc80af5a21525175bb14ec85f2067 /etc/namedb | |
parent | b1e845ef2c5be32c7aa555ad7f54accdf07b7f54 (diff) | |
download | FreeBSD-src-a38455ecc107448cf4462b160fc430d5cccfa795.zip FreeBSD-src-a38455ecc107448cf4462b160fc430d5cccfa795.tar.gz |
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.
Diffstat (limited to 'etc/namedb')
0 files changed, 0 insertions, 0 deletions