summaryrefslogtreecommitdiffstats
path: root/sys/kern
AgeCommit message (Expand)AuthorFilesLines
2021-04-13Add refcnt_take_if_gt()Matt Dunwoodie1-0/+13
2021-03-25Permit kern.somaxconn when the unix pledge is used. Previously this was onlyabieber1-2/+2
2021-03-23Make a child execute fork_return() only if PTRACE_FORK has been specified.mpi1-3/+6
2021-03-23Skip first frame when saving stacktraces, it's always witness_checkorder().mpi1-3/+3
2021-03-21makes `struct execsw' to:semarie1-4/+10
2021-03-21Use uppercases for defines.mpi1-6/+6
2021-03-20namei: reorganize a bit the error path for simples casessemarie1-23/+17
2021-03-18regenmvs2-5/+5
2021-03-18Unlock sendsyslog(2). Console output still requires kernel lock to bemvs2-41/+58
2021-03-16handle theoretical case of sigfillsz not being pow2-sized on somederaadt1-4/+8
2021-03-12Kill SINGLE_PTRACE and use SINGLE_SUSPEND which has almost the same semanticmpi3-15/+11
2021-03-10The ktrace record for recvmsg/recvfrom could contain extract bits inderaadt1-3/+10
2021-03-10spellingjsg10-25/+25
2021-03-09Early daemons like dhcpleased(8), slaacd(8), unwind(8), resolvd(8)bluhm1-28/+154
2021-03-08Revert commitid: AZrsCSWEYDm7XWuv;claudio3-10/+14
2021-03-08Move a KERNEL_ASSERT_LOCKED() from single_thread_clear() to cursig().mpi1-6/+3
2021-03-08Kill SINGLE_PTRACE and use SINGLE_SUSPEND which has almost the same semantic.mpi3-14/+10
2021-03-08Remove the workaround which identified Go executables, and permitted themderaadt1-7/+2
2021-03-06ansijsg2-4/+4
2021-03-04Merge issignal() and CURSIG() in preparation for turning it mp-safe.mpi2-14/+22
2021-02-27Replace stray direct call of f_event with filter_event().visa1-2/+2
2021-02-25let m_copydata use a void * instead of caddr_tdlg1-2/+3
2021-02-24kqueue: Revise filterops interfacevisa1-41/+188
2021-02-24In sorflush() use m_purge() instead of handrolling it.bluhm1-3/+2
2021-02-23remove unused malloc_roundup()jsg1-13/+1
2021-02-23timecounting: use C99-style initialization for all timecounter structscheloha1-2/+9
2021-02-22Move UNIX socket's garbage collector to `systqmp'. It touches nothingmvs1-3/+3
2021-02-18Release mbuf(9) chain with a simple m_freem(9) loop in sorflush().mvs1-6/+7
2021-02-15Move single_thread_set() out of KERNEL_LOCK().mpi3-10/+8
2021-02-11sbdrop(): use NULL instead of 0 in pointer assignmentmvs1-2/+2
2021-02-11"proc: table is full" actually means thread table is full; ok mpi@ sthen@otto1-2/+2
2021-02-11In the various open functions reduce the fdplock() to only span over theclaudio1-16/+27
2021-02-10Move UNIX domain sockets out of kernel lock. The new `unp_lock' rwlock(9)mvs2-49/+171
2021-02-08Revert the convertion of per-process thread into a SMR_TAILQ.mpi12-43/+39
2021-02-08Do not hold onto the fdplock longer then needed. Release the lock afterclaudio1-6/+9
2021-02-08Simplify sleep_setup API to two operations in preparation for splittingmpi6-135/+80
2021-02-04Revert previous commit. The vnode returned by ptm_vn_open() is open andclaudio1-33/+28
2021-02-04Prevent a lock order issue by shuffling code around. Instead of allocatingclaudio1-28/+33
2021-02-03Add SIOCAIFADDR_IN and SIOCDIFADDR_IN to the wroute pledgetobhe1-1/+3
2021-01-29Use NULL instead of 0 to clear v_socket pointer (which actually clears allclaudio1-2/+2
2021-01-29Whitespace.rob1-3/+2
2021-01-28Show when witness(4) has run out of lock order data entries.visa1-2/+14
2021-01-27kqueue: Fix termination assertvisa1-2/+12
2021-01-20If pledge "wroute" is missing for setsockopt SO_RTABLE, print failurebluhm1-2/+2
2021-01-19kern/subr_disk.c: convert ifunit() to if_unit(9)mvs1-3/+5
2021-01-19/etc/malloc.conf path-approval in pledge is no longer needed since 6.5deraadt1-9/+1
2021-01-18regenmvs2-5/+5
2021-01-18Unlock getppid(2).mvs1-2/+2
2021-01-17Cache parent's pid as `ps_ppid' and use it instead of `ps_pptr->ps_pid'.mvs5-8/+10
2021-01-17kqueue: Revise fd close notificationvisa1-30/+117