summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_time.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* inittodr(9): introduce dedicated flag to enable writes from resettodr(9)cheloha2020-06-221-2/+9
* clock_gettime(2): use nanoruntime(9) to get value for CLOCK_UPTIMEcheloha2020-05-201-5/+2
* Add function for attaching RTC drivers, to reduce direct usevisa2020-05-171-1/+7
* Make inittodr() and resettodr() MI.kettenis2020-05-161-1/+91
* nanosleep(2): tsleep(9) -> tsleep_nsec(9)cheloha2020-03-201-4/+5
* adjfreq(2): fix atomic swapcheloha2019-11-071-4/+4
* clock_getres(2): actually return the resolution of the given clockcheloha2019-10-261-9/+18
* gettimeofday, settimeofday(2): limit timezone supportcheloha2019-09-041-4/+4
* R.I.P. itimerround(); ok mpi@cheloha2019-08-031-12/+1
* per-process itimers: itimerval -> itimerspeccheloha2019-08-021-34/+35
* itimerdecr(): simplify logic with timer*(9) macros; ok millert@cheloha2019-07-251-32/+19
* R.I.P. timespecfix(); ok visa@ mpi@cheloha2019-07-021-15/+1
* Switch from bintime_add() et al. to bintimeadd(9).cheloha2019-06-031-3/+3
* Revert to using the SCHED_LOCK() to protect time accounting.mpi2019-06-011-11/+3
* Use a per-process mutex to protect time accounting instead of SCHED_LOCK().mpi2019-05-311-3/+11
* Fix uninitialized return code in adjfreq(2); CID 1480285stsp2019-05-211-2/+2
* Unlock adjfreq(2), adjtime(2), clock_settime(2), and settimeofday(2).cheloha2019-05-091-1/+3
* Tweak previous: include <sys/stdint.h> for INT64_MAX/INT64_MIN.cheloha2019-03-261-1/+2
* adjtime(2): set EINVAL if delta overflows 64 bits of microseconds.cheloha2019-03-261-3/+13
* MP-safe timecounting: new rwlock: tc_lockcheloha2019-03-251-26/+35
* Move adjtimedelta from kern_time.c to kern_tc.c.cheloha2019-03-101-13/+8
* matthew noticed that some clocks use tfind() which is not mpsafe.tedu2019-01-311-10/+20
* Sprinkle a pinch of timerisvalid/timespecisvalid over the rest of sys/kerncheloha2019-01-231-10/+8
* no need to KERNEL_LOCK before calling ktrstruct() anymore; ok mpi@ visa@cheloha2019-01-181-21/+6
* adjtime(2), settimeofday(2), clock_settime(2): validate inputcheloha2019-01-181-1/+8
* settime: Don't cancel ongoing adjtime(2) until after full permission checkscheloha2019-01-101-7/+6
* nanosleep: loop tsleep(9) to ensure coverage of the full timeout range.cheloha2018-12-311-10/+13
* sys_nanosleep: switch to descriptive, idiomatic variable names; ok tedu@cheloha2018-12-291-20/+19
* Constipate a bunch of time functionsguenther2018-05-281-2/+2
* nanosleep: ensure tv_nsec input is on [0, 1000000000)cheloha2018-05-221-5/+3
* Remove almost unused `flags' argument of suser().mpi2018-02-191-5/+5
* Add the CLOCK_BOOTTIME clockid for use with clock_gettime(2)cheloha2017-12-181-1/+3
* Rename pfind(9) into tfind(9) to reflect that it deals with threads.mpi2017-01-241-3/+3
* Write the system time back to the RTC every 30 minutes.naddy2016-09-031-1/+37
* careful study of the holy scrolls reveals that for pselect (and ppoll)tedu2016-04-281-2/+4
* remove stale lint annotationstedu2015-12-051-10/+1
* refactor pledge_*_check and pledge_fail functionssemarie2015-11-011-3/+4
* Rename tame() to pledge(). This fairly interface has evolved to be morederaadt2015-10-091-3/+3
* Only include <sys/tame.h> in the .c files that need itguenther2015-09-111-1/+2
* Move to tame(int flags, char *paths[]) API/ABI.deraadt2015-08-221-2/+1
* tame(2) is a subsystem which restricts programs into a "reduced featurederaadt2015-07-191-1/+5
* Protect the per-process itimerval structs with a mutex. We update thesekettenis2015-04-281-10/+13
* typo; fix from Kaspars Bankovskisderaadt2014-12-071-2/+2
* Prefer prsignal() to send process signalsguenther2014-05-151-2/+2
* Simplyfy adjtime(2) by keeping track of the adjustment as a number ofkettenis2014-01-301-22/+19
* timeval, timespec, and itimerval have padding on many archs. If we'reguenther2014-01-221-12/+24
* Move the declarations for dogetrusage(), itimerround(), and dowait4()guenther2013-10-251-3/+1
* Fix delivery of SIGPROF and SIGVTALRM to threaded processes by havingguenther2013-10-081-5/+1
* Add CLOCK_UPTIME, a clock which measures time-running-not-suspended, soguenther2013-10-061-1/+8
* Snapshots for all archs have been built, so remove the T32 codeguenther2013-09-141-334/+1