summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Expand)Author
2019-06-22push the KERNEL_LOCK deeper on read(2) and write(2)Sebastien Marie
2019-06-22push the KERNEL_LOCK deeper on read(2) and write(2)Sebastien Marie
2019-06-21Make resource limit access MP-safe. So far, the copy-on-write sharingVisa Hankala
2019-06-20Undefined behavior (UB) can potentially be present anywhere in theanton
2019-06-20Work around locking issues in logwakeup(). Instead of actually waking upVisa Hankala
2019-06-19the pledge STATLIE code is no longer needed, as discussed with beck.Theo de Raadt
2019-06-18Ensure that timeout p_sleep_to is not left running when finishing sleep.Visa Hankala
2019-06-17dosendsyslog() must only pass ktrgenio(9) userspace buffers that it canPhilip Guenther
2019-06-16SYS___realpath is legitimately PLEDGE_STDIO, because the other pledgeTheo de Raadt
2019-06-16In previous commit I forgot a net unlock if the PCB of the socketAlexander Bluhm
2019-06-15Have __realpath() do the pathname==NULL -> EINVAL check itself, eliminatingTheo de Raadt
2019-06-13Use PWAIT instead of PUSER in exit1().Martin Pieuchot
2019-06-13When tcp_close() is running in parallel with fill_file(), the kernelAlexander Bluhm
2019-06-10add m_microtime for getting the wall clock time associated with a packetDavid Gwynne
2019-06-10Avoid changing resource limits in rucheck() by introducing a new stateVisa Hankala
2019-06-09Add a temporary workaround to make removal of giant files betterBob Beck
2019-06-06Restore missing newline.Visa Hankala
2019-06-04Let SP kernel work with WITNESS. The necessary instrumentation wasVisa Hankala
2019-06-03sort struct declarationsanton
2019-06-03Switch from bintime_add() et al. to bintimeadd(9).cheloha
2019-06-02Move initialization of limit0 into a dedicated function. This newVisa Hankala
2019-06-01Revert to using the SCHED_LOCK() to protect time accounting.Martin Pieuchot
2019-05-31Use a per-process mutex to protect time accounting instead of SCHED_LOCK().Martin Pieuchot
2019-05-31Rename struct plimit field p_refcnt to pl_refcnt to avoid confusionVisa Hankala
2019-05-30Fix the initialization of bp before calling vfs_getcwd_commonBob Beck
2019-05-30namei() generate KTR_NAMEI record input filenames, but getcwd(2) andTheo de Raadt
2019-05-30use copyoutstr, instead of fragile range math; ok beckTheo de Raadt
2019-05-30Correct call to vfs_getcwd_common from within __realpathBob Beck
2019-05-29The past is fuzzy, but it appears during development of __getcwd, *retvalTheo de Raadt
2019-05-25Do not account spinning time as running time when a thread crosses aMartin Pieuchot
2019-05-24rename struct for consistencyanton
2019-05-24fix incorrect order of argumentsanton
2019-05-24A source location in kubsan is an absolute path making reports quiteanton
2019-05-24The latest inteldrm update brought along code making use ofanton
2019-05-24Prevent a kernel hang if an empty message is sent over an SOCK_SEQPACKETAlexander Bluhm
2019-05-22SLIST-ify the timecounter list.cheloha
2019-05-22Read and assign the integer value only once. With this sysctl_int() willClaudio Jeker
2019-05-21Fix uninitialized return code in adjfreq(2); CID 1480285Stefan Sperling
2019-05-20kern.timecounter.choices: Don't offer the dummy counter as an option.cheloha
2019-05-19include uvm.h -> uvm_extern.h; ok visa@anton
2019-05-17Add SMR_ASSERT_NONCRITICAL() in assertwaitok(). This eases debuggingVisa Hankala
2019-05-16Remove incorrect optimization. The current logic for skipping idle CPUsVisa Hankala
2019-05-15rework the zero warning slightly, and more completely disable until we'reTed Unangst
2019-05-14Add lock order checking for smr_barrier(9). This is similar to theVisa Hankala
2019-05-13Add a kernel implementation of realpath() as __realpath().Bob Beck
2019-05-13When killing a process, the signal is handled by any thread thatAlexander Bluhm
2019-05-13dup2(n,n) would rlimit check before handling the n==n shortcut,Theo de Raadt
2019-05-12no need to store the wmesg passed to rwsleep() as a static variable anymoreanton
2019-05-11wxneeded binaries on wxallowed filesystems were refused execution. We haveTheo de Raadt
2019-05-11make rw-lock adaptiveAlexandr Nedvedicky