summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_time.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* nanosleep(2): shorten wmesg from "nanosleep" to "nanoslp"cheloha2020-12-231-2/+2
* setitimer(2): ITIMER_REAL: protect state with per-process mutex ps_mtxcheloha2020-11-101-9/+32
* setitimer(2): ITIMER_REAL: use kclock timeoutscheloha2020-10-251-14/+6
* _exit(2), execve(2): tweak per-process interval timer cancellationcheloha2020-10-151-3/+6
* _exit(2), execve(2): cancel per-process interval timers safelycheloha2020-10-151-1/+11
* setitimer(2): zero itv.it_interval if itv.it_value is zerocheloha2020-10-131-1/+3
* setitimer(2): realitexpire(): call getnanouptime(9) oncecheloha2020-10-131-16/+15
* sys_getitimer(), sys_setitimer(): style(9), misc. cleanupcheloha2020-10-071-21/+15
* getitimer(2), setitimer(2): ITIMER_REAL: call getnanouptime(9) oncecheloha2020-10-071-6/+5
* getitimer(2), setitimer(2): merge critical sectionscheloha2020-10-071-59/+69
* expose timeval/timespec from system calls into ktrace, before determiningderaadt2020-10-021-1/+9
* getitimer(2): delay TIMESPEC_TO_TIMEVAL(9) conversion until copyout(9)cheloha2020-08-121-10/+12
* setitimer(2): ITIMER_REAL: don't call timeout_del(9) before timeout_add(9)cheloha2020-08-121-3/+3
* setitimer(2): write new timer value in one placecheloha2020-08-111-6/+9
* setitimer(2): consolidate copyin(9), input validation, input conversioncheloha2020-08-111-8/+10
* getitimer(2): don't enter itimer_mtx to read ITIMER_REAL itimerspeccheloha2020-08-111-3/+6
* hardclock(9): fix race with setitimer(2) for ITIMER_VIRTUAL, ITIMER_PROFcheloha2020-08-091-1/+15
* adjtime(2): simplify input validation for new adjustmentcheloha2020-08-081-13/+9
* settimeofday(2): securelevel 2: prevent root from freezing the UTC clockcheloha2020-07-151-2/+2
* adjfreq(2): limit adjustment to [-500000, +500000] ppmcheloha2020-07-091-1/+6
* 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