| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Avoid time wrap at securelevel 2. ok millert@ fgsch@ | 2002-07-25 | 1 | -44/+39 | ||
| | | ||||||
| * | Remove unnecessary spllowersoftclock(). ok art@ | 2002-06-11 | 1 | -2/+1 | ||
| | | ||||||
| * | First round of __P removal in sys | 2002-03-14 | 1 | -3/+3 | ||
| | | ||||||
| * | Repeat. But this time get the math right and avoid sleeping forever. | 2002-02-17 | 1 | -15/+19 | ||
| | | ||||||
| * | undo latest commit for now, it breaks nanosleep | 2002-02-15 | 1 | -17/+17 | ||
| | | ||||||
| * | Don't get confused in nanosleep(2) when the time changes. | 2002-02-15 | 1 | -17/+17 | ||
| | | | | | | There is no need to use 'time' when we can use 'mono_time'. (oh and now it's faster too) | |||||
| * | Handle itimer intervals smaller than the resolution of the clock; pr#2182. | 2001-12-12 | 1 | -2/+17 | ||
| | | ||||||
| * | Remove NQNFS | 2001-06-25 | 1 | -4/+1 | ||
| | | ||||||
| * | implement ppsratecheck(9). from netbsd. | 2000-10-10 | 1 | -4/+62 | ||
| | | | | | refer mono_time only once in ratecheck(9). | |||||
| * | Be more paranoid about return values from hzto. | 2000-07-07 | 1 | -7/+14 | ||
| | | ||||||
| * | Change splsoftclock() to spllowersoftclock(). (art@ ok) | 2000-07-06 | 1 | -2/+2 | ||
| | | ||||||
| * | Stop sleeps from returning early (by up to a clock tick). | 2000-07-05 | 1 | -6/+2 | ||
| | | | | | | From FreeBSD: eventually, we should replace hzto() with something like tvtohz() as well. | |||||
| * | Don't reinitialize the tsleep and ITIMER_REAL timers all the time. | 2000-03-23 | 1 | -2/+1 | ||
| | | | | | The function and the argument never change. | |||||
| * | Use the new timeout facilities for ITIMER_REAL. | 2000-03-23 | 1 | -5/+6 | ||
| | | ||||||
| * | ratecheck - function to help implement rate-limited actions (from NetBSD) | 2000-03-17 | 1 | -1/+30 | ||
| | | | | | ok art@ | |||||
| * | Don't allow the time to be set forward so far it will wrap and become negative, | 2000-01-22 | 1 | -2/+22 | ||
| | | | | | | | | | | | | thus allowing an attacker to bypass the next check below. The cutoff is 1 year before rollover occurs, so even if the attacker uses adjtime(2) to move the time past the cutoff, it will take a very long time to get to the wrap point. The actual check is tv_sec > INT_MAX - 365*24*60*60 because on 64 bit platforms tv_sec is 64 bits but time_t is 32 bits. This will need to be changed some time in the future when the size of time_t changes. Add a printf when a user tries to turn the clock backwards and securelevel > 1 | |||||
| * | Implement compatibility for Linux stime() syscall. | 1999-12-06 | 1 | -3/+3 | ||
| | | ||||||
| * | -Wall sucks | 1999-06-06 | 1 | -3/+3 | ||
| | | ||||||
| * | adjtime(2) did not return EFAULT for bad olddelta ptr; darrenr@merlin.reed.wattle.id.au | 1999-06-06 | 1 | -3/+4 | ||
| | | ||||||
| * | Please GCC 2.8's harsher view of good style | 1998-02-20 | 1 | -3/+5 | ||
| | | ||||||
| * | Updates to match type changes in syscall tables | 1998-02-08 | 1 | -2/+2 | ||
| | | ||||||
| * | Don't allow root to set the clock back in time if securelevel > 1. This | 1997-10-17 | 1 | -3/+21 | ||
| | | | | | got nuked when settime() was added. | |||||
| * | The type of a pointer to const characters is not the same as a const pointer | 1997-04-28 | 1 | -19/+19 | ||
| | | | | | | | to non-const characters. Besides, the prototypes for copyin and friends, as well as timeout/untimeout takes void *, not caddr_t (char *), so I matched them. Slight KNF. This change makes it pass -Wcast-qual. | |||||
| * | First argument to nanosleep(2) is const; so is the first argument to | 1997-04-26 | 1 | -3/+3 | ||
| | | | | | copyin(9). Propagate this. | |||||
| * | In nanosleep, use local error variable when storing rqtp in so that an error | 1997-04-23 | 1 | -1/+5 | ||
| | | | | | from a failed tsleep will still be returned to the caller; from jtc@NetBSD | |||||
| * | Add new POSIX 1003.1b related syscalls; from pk@NetBSD | 1997-04-20 | 1 | -25/+173 | ||
| | | ||||||
| * | allow settimeofday() at securelevel < 2, rather than < 1. | 1997-03-16 | 1 | -2/+2 | ||
| | | | | | | the consensus was that it was too annoying to not be able to change the clock at securelevel == 1. | |||||
| * | Upodate to lite2 -- don't allow setting back the clock if securelevel > 0 | 1997-02-22 | 1 | -13/+19 | ||
| | | ||||||
| * | From NetBSD: NFSv3 import (tomorrow's Net's kernel) | 1996-03-31 | 1 | -3/+4 | ||
| | | | | | | Open's patches kept in. i'll possibly take a look at Lite2 soon, is there smth usefull ?.. | |||||
| * | From NetBSD: 960217 merge | 1996-03-03 | 1 | -8/+17 | ||
| | | ||||||
| * | initial import of NetBSD tree | 1995-10-18 | 1 | -0/+387 | ||
