Age | Commit message (Collapse) | Author | |
---|---|---|---|
2002-10-02 | which is int not u_int so check for negative values. ok deraadt@, art@ | Thomas Nordin | |
2002-07-25 | Avoid time wrap at securelevel 2. ok millert@ fgsch@ | Thomas Nordin | |
2002-06-11 | Remove unnecessary spllowersoftclock(). ok art@ | Thomas Nordin | |
2002-03-14 | First round of __P removal in sys | Todd C. Miller | |
2002-02-17 | Repeat. But this time get the math right and avoid sleeping forever. | Artur Grabowski | |
2002-02-15 | undo latest commit for now, it breaks nanosleep | Peter Valchev | |
2002-02-15 | Don't get confused in nanosleep(2) when the time changes. | Artur Grabowski | |
There is no need to use 'time' when we can use 'mono_time'. (oh and now it's faster too) | |||
2001-12-12 | Handle itimer intervals smaller than the resolution of the clock; pr#2182. | Thomas Nordin | |
2001-06-25 | Remove NQNFS | Constantine Sapuntzakis | |
2000-10-10 | implement ppsratecheck(9). from netbsd. | Jun-ichiro itojun Hagino | |
refer mono_time only once in ratecheck(9). | |||
2000-07-07 | Be more paranoid about return values from hzto. | Artur Grabowski | |
2000-07-06 | Change splsoftclock() to spllowersoftclock(). (art@ ok) | Hakan Olsson | |
2000-07-05 | Stop sleeps from returning early (by up to a clock tick). | Paul Janzen | |
From FreeBSD: eventually, we should replace hzto() with something like tvtohz() as well. | |||
2000-03-23 | Don't reinitialize the tsleep and ITIMER_REAL timers all the time. | Artur Grabowski | |
The function and the argument never change. | |||
2000-03-23 | Use the new timeout facilities for ITIMER_REAL. | Artur Grabowski | |
2000-03-17 | ratecheck - function to help implement rate-limited actions (from NetBSD) | Jakob Schlyter | |
ok art@ | |||
2000-01-22 | Don't allow the time to be set forward so far it will wrap and become negative, | Todd C. Miller | |
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 | |||
1999-12-06 | Implement compatibility for Linux stime() syscall. | Aaron Campbell | |
1999-06-06 | -Wall sucks | Theo de Raadt | |
1999-06-06 | adjtime(2) did not return EFAULT for bad olddelta ptr; ↵ | Theo de Raadt | |
darrenr@merlin.reed.wattle.id.au | |||
1998-02-20 | Please GCC 2.8's harsher view of good style | Niklas Hallqvist | |
1998-02-08 | Updates to match type changes in syscall tables | Thorsten Lockert | |
1997-10-17 | Don't allow root to set the clock back in time if securelevel > 1. This | Todd C. Miller | |
got nuked when settime() was added. | |||
1997-04-28 | The type of a pointer to const characters is not the same as a const pointer | Niklas Hallqvist | |
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. | |||
1997-04-26 | First argument to nanosleep(2) is const; so is the first argument to | Thorsten Lockert | |
copyin(9). Propagate this. | |||
1997-04-23 | In nanosleep, use local error variable when storing rqtp in so that an error | Thorsten Lockert | |
from a failed tsleep will still be returned to the caller; from jtc@NetBSD | |||
1997-04-20 | Add new POSIX 1003.1b related syscalls; from pk@NetBSD | Thorsten Lockert | |
1997-03-16 | allow settimeofday() at securelevel < 2, rather than < 1. | flipk | |
the consensus was that it was too annoying to not be able to change the clock at securelevel == 1. | |||
1997-02-22 | Upodate to lite2 -- don't allow setting back the clock if securelevel > 0 | Todd C. Miller | |
1996-03-31 | From NetBSD: NFSv3 import (tomorrow's Net's kernel) | Michael Shalayeff | |
Open's patches kept in. i'll possibly take a look at Lite2 soon, is there smth usefull ?.. | |||
1996-03-03 | From NetBSD: 960217 merge | Niklas Hallqvist | |
1995-10-18 | initial import of NetBSD tree | Theo de Raadt | |