summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Expand)Author
2020-12-10Use sysctl_int_bounded for sysctl_hwsetperfgnezdo
2020-12-09Add kernel-only per-thread kqueue & helpers to initialize and free it.Martin Pieuchot
2020-12-07Convert the per-process thread list into a SMR_TAILQ.Martin Pieuchot
2020-12-07Refactor kqueue_scan() so it can be used by other syscalls.Martin Pieuchot
2020-12-06srp_finalize(9): tsleep(9) -> tsleep_nsec(9)cheloha
2020-12-05Convert sysctl_tc to sysctl_bounded_arrgnezdo
2020-12-04Prevent a TOCTOU race in single_thread_set() by extending the scope of the lock.Martin Pieuchot
2020-12-02Revert previous extension of the SCHED_LOCK(), the state isn't passed down.Martin Pieuchot
2020-12-02Prevent a TOCTOU race in single_thread_set() by extending the scope of the lock.Martin Pieuchot
2020-11-28Rather than skipping %[sizearg]n in the kernel, panic when it is encountered.Theo de Raadt
2020-11-25Change kqueue_scan() to keep track of collected events in the given context.Martin Pieuchot
2020-11-19Convert sysctl_sysvsem to sysctl_int_boundedgnezdo
2020-11-17Fix handling of MSG_PEEK in soreceive() for the case where an emptyClaudio Jeker
2020-11-17Convert sysctl_sysvsem to sysctl_bounded_argsgnezdo
2020-11-16Prevent exit status from being clobbered on thread exit.Joel Sing
2020-11-16Convert hw_sysctl to sysctl_bounded_argsgnezdo
2020-11-16Convert kern_sysctl to sysctl_bounded_argsgnezdo
2020-11-12witness: detect and report uninitialized (or zeroed) lock usageSebastien Marie
2020-11-10setitimer(2): ITIMER_REAL: protect state with per-process mutex ps_mtxcheloha
2020-11-08In case of failure, call sigexit() from trapsignal instead of sensig().Martin Pieuchot
2020-11-07Convert ffs_sysctl to sysctl_bounded_argsgnezdo
2020-10-29Add feature to force the selection of source IP addressdenis
2020-10-26kevent(2): ktrace the timeout before validating itcheloha
2020-10-25Serialize msgbuf access with a mutex.Visa Hankala
2020-10-25setitimer(2): ITIMER_REAL: use kclock timeoutscheloha
2020-10-23sleep_setup_timeout(): always KASSERT that P_TIMEOUT is unsetcheloha
2020-10-20timeout(9): fix compilation under NKCOVcheloha
2020-10-19Serialize accesses to "struct vmspace" and document its refcounting.Martin Pieuchot
2020-10-15timeout(9): basic support for kclock timeoutscheloha
2020-10-15_exit(2), execve(2): tweak per-process interval timer cancellationcheloha
2020-10-15Stop asserting that the NET_LOCK() shouldn't be held in yield().Martin Pieuchot
2020-10-15_exit(2), execve(2): cancel per-process interval timers safelycheloha
2020-10-14delete strange historical FFS_SOFTUPDATES ifdef...Theo de Raadt
2020-10-13setitimer(2): zero itv.it_interval if itv.it_value is zerocheloha
2020-10-13setitimer(2): realitexpire(): call getnanouptime(9) oncecheloha
2020-10-11Refactor kqueue_scan() to use a context: a "kqueue_scan_state struct".Martin Pieuchot
2020-10-07sys_getitimer(), sys_setitimer(): style(9), misc. cleanupcheloha
2020-10-07getitimer(2), setitimer(2): ITIMER_REAL: call getnanouptime(9) oncecheloha
2020-10-07getitimer(2), setitimer(2): merge critical sectionscheloha
2020-10-07Document that `a_p' is always curproc by using a KASSERT().Martin Pieuchot
2020-10-05Fix write hang-up on file system on vnd.asou
2020-10-02expose timeval/timespec from system calls into ktrace, before determiningTheo de Raadt
2020-09-29Move the solock() call outside of solisten(). The reason is that theClaudio Jeker
2020-09-26Remove the PR_WAITOK flag from the ucred_pool. The pool items are smallMark Kettenis
2020-09-25setpriority(2): don't treat booleans as scalarscheloha
2020-09-22timeout(9): timeout_run(): read to_process before leaving timeout_mutexcheloha
2020-09-16Move duplicated code to send an uncatchable SIGABRT into a function.Martin Pieuchot
2020-09-16put HW_PHYSMEM64 case under CTL_HW not CTL_KERNJonathan Gray
2020-09-16As discovered by kettenis, recent mesa wants sysctl hw.physmem64, andTheo de Raadt
2020-09-16timecounting: provide a naptime variable for userspace via kvm_read(3)cheloha