Date: Thu, 8 May 1997 07:16:26 -0700 (PDT) From: Peter Wemm <peter@FreeBSD.ORG> To: CVS-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/kern kern_time.c Message-ID: <199705081416.HAA26527@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 97/05/08 07:16:25 Modified: sys/kern kern_time.c Log: 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. Revision Changes Path 1.23 +215 -33 src/sys/kern/kern_time.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705081416.HAA26527>