summaryrefslogtreecommitdiff
path: root/sys/kern/kern_time.c
AgeCommit message (Expand)Author
2007-01-10Fix getitimer to use uptime as setitimer does. Fixes bad output fromArtur Grabowski
2006-10-30Timecounter based implementation of adjfreq(2). Largely from art@Otto Moerbeek
2006-06-29Normalize the correction passed to adjtime(2) before using it in theMark Kettenis
2006-06-27Adapt adjtime() code and put in a better stub for adjfreq() for theOtto Moerbeek
2006-06-15Make sys_adjfreq() compile on archs that use timecountersJonathan Gray
2006-06-14Introducing adjfreq(2), to adjust the clock frequency.Otto Moerbeek
2006-06-04Allow any user to request the current adjustment; ok henning@ deraadt@Otto Moerbeek
2006-01-20revert auto-skew. some ntpd implementations interact poorly.Ted Unangst
2006-01-13auto adjusting adjtime. be more responsive to large clock deltas,Ted Unangst
2005-11-28ansi/deregister.Jonathan Gray
2005-10-27make sure ppsratecheck() returns 0 if maxpps is 0;Markus Friedl
2005-10-13In realitexpire(), do not re-add the itimer timeout if the process is inAaron Campbell
2005-10-10Avoid arithmetic overflows in computation of adjtime(). Fixes adjusting in theOtto Moerbeek
2005-05-31Protect p_timer with splclock. It can be fiddled with in hardclock (butArtur Grabowski
2005-05-29sched work by niklas and art backed out; causes panicsTheo de Raadt
2005-05-25This patch is mortly art's work and was done *a year* ago. Art wants to thankNiklas Hallqvist
2004-07-28This touches only MI code, and adds new time keeping code. TheThorsten Lockert
2004-06-26Don't sleep forever on short nanosleeps.Thomas Nordin
2004-06-24This moves access to wall and uptime variables in MI code,Thorsten Lockert
2004-06-21First step towards more sane time handling in the kernel -- this changesThorsten Lockert
2004-06-13debranch SMP, have funNiklas Hallqvist
2004-06-09Merge in a piece of the SMP branch into HEAD.Artur Grabowski
2004-02-15pretty code that's easier to read, same effect.Ted Unangst
2003-09-01match syscallargs comments with realityHenning Brauer
2003-08-26fix sys_clock_settime. hint from nordin@ ok deraadt@Ted Unangst
2003-08-15change arguments to suser. suser now takes the process, and a flagsTed Unangst
2003-08-11implement CLOCK_MONOTONIC from NetBSD; ok marc@Kevin Lo
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-05-19no need for nfs headers since nqnfs had been removed way long time agoMichael Shalayeff
2002-10-02which is int not u_int so check for negative values. ok deraadt@, art@Thomas Nordin
2002-07-25Avoid time wrap at securelevel 2. ok millert@ fgsch@Thomas Nordin
2002-06-11Remove unnecessary spllowersoftclock(). ok art@Thomas Nordin
2002-03-14First round of __P removal in sysTodd C. Miller
2002-02-17Repeat. But this time get the math right and avoid sleeping forever.Artur Grabowski
2002-02-15undo latest commit for now, it breaks nanosleepPeter Valchev
2002-02-15Don't get confused in nanosleep(2) when the time changes.Artur Grabowski
2001-12-12Handle itimer intervals smaller than the resolution of the clock; pr#2182.Thomas Nordin
2001-06-25Remove NQNFSConstantine Sapuntzakis
2000-10-10implement ppsratecheck(9). from netbsd.Jun-ichiro itojun Hagino
2000-07-07Be more paranoid about return values from hzto.Artur Grabowski
2000-07-06Change splsoftclock() to spllowersoftclock(). (art@ ok)Hakan Olsson
2000-07-05Stop sleeps from returning early (by up to a clock tick).Paul Janzen
2000-03-23Don't reinitialize the tsleep and ITIMER_REAL timers all the time.Artur Grabowski
2000-03-23Use the new timeout facilities for ITIMER_REAL.Artur Grabowski
2000-03-17ratecheck - function to help implement rate-limited actions (from NetBSD)Jakob Schlyter
2000-01-22Don't allow the time to be set forward so far it will wrap and become negative,Todd C. Miller
1999-12-06Implement compatibility for Linux stime() syscall.Aaron Campbell
1999-06-06-Wall sucksTheo de Raadt
1999-06-06adjtime(2) did not return EFAULT for bad olddelta ptr; darrenr@merlin.reed.wa...Theo de Raadt
1998-02-20Please GCC 2.8's harsher view of good styleNiklas Hallqvist