summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Expand)Author
2017-07-13Do not unlock the netlock in the goto out error path before it hasAlexander Bluhm
2017-07-12Invalidate read-ahead buffers when read shortMike Belopuhov
2017-07-12Do not call fo_ioctl() in syscall that do, or will, take the socketMartin Pieuchot
2017-07-12Compute the level of contention only once.Visa Hankala
2017-07-12When there is no contention on a pool cache lock, lower the numberVisa Hankala
2017-07-10make malloc(9) mpsafe by using a mutex instead of splvm.David Gwynne
2017-07-08Revert grabbing the socket lock in kqueue filters.Martin Pieuchot
2017-07-04some of this code was written in an era when spaces cost extra.Ted Unangst
2017-07-04Always hold the socket lock when calling sblock().Martin Pieuchot
2017-07-04Assert that the socket lock is held when `so_state' is modified.Martin Pieuchot
2017-07-04Assert that the socket lock is held when `so_qlen' is modified.Martin Pieuchot
2017-07-03Do not grab the socket lock in doaccept() twice. Pass NOTE_SUBMITAlexander Bluhm
2017-07-03Protect `so_state', `so_error' and `so_qlen' with the socket lock inMartin Pieuchot
2017-06-29Due to risks known for decades, TIOCSTI now performs no action, and simplyTheo de Raadt
2017-06-27Add missing solock()/sounlock() dances around sbreserve().Martin Pieuchot
2017-06-26Assert that the corresponding socket is locked when manipulating socketMartin Pieuchot
2017-06-23set the alignment of the per cpu cache structures to CACHELINESIZE.David Gwynne
2017-06-23change the semantic for calculating when to grow the size of a cache list.David Gwynne
2017-06-22calculate a "sum" based upon pointers to functions all over the kernel,Theo de Raadt
2017-06-21Permit TIOCSTAT on a tty.Theo de Raadt
2017-06-20In ddb print socket bit field so_state in hex to match SS_ defines.Alexander Bluhm
2017-06-20Do not touch file pointers for which FILE_IS_USABLE() is false.Gerhard Roth
2017-06-20Convert sodidle() to timeout_set_proc(9), it needs a process contextMartin Pieuchot
2017-06-19dynamically scale the size of the per cpu cache lists.David Gwynne
2017-06-19Terminate pledge log(9) with newline. This fixes dmesg(8) output.Alexander Bluhm
2017-06-16add garbage collection of unused lists percpu cached items.David Gwynne
2017-06-16split returning an item to the pool pages out of pool_put as pool_do_put.David Gwynne
2017-06-15report contention on caches global data to userland.David Gwynne
2017-06-15white space tweaks. no functional change.David Gwynne
2017-06-15implement the backend of the sysctls that report pool cache info.David Gwynne
2017-06-14tweak sysctl_string and sysctl_tstring to use size_t for lengths, not intDavid Gwynne
2017-06-13when enabling cpu caches, check the item size against the right thingDavid Gwynne
2017-06-13use size_t for the size of things in memory, not int.David Gwynne
2017-06-12Pledge is fairly done, so the kernel printf's can be converted to log()Theo de Raadt
2017-06-08ASLR, W^X, and guard pages trigger processor traps that result inAlexander Bluhm
2017-06-08make rb_n2e return a struct rb_entry *, not void *David Gwynne
2017-06-08use unsigned long instead of caddr_t to move between nodes and entries.David Gwynne
2017-06-08add RBT_SET_LEFT, RBT_SET_RIGHT, and RBT_SET_PARENTDavid Gwynne
2017-06-07Add an acct(5) flag for pledge violations. Then lastcomm(1) showsAlexander Bluhm
2017-06-07Assert that the KERNEL_LOCK() is held when messing with routing,Martin Pieuchot
2017-06-07Assert that the calling CPU is holding the KERNEL_LOCK() in malloc(9)Martin Pieuchot
2017-06-03Avoid printing garbage when aborting a program that tries to use aTheo Buehler
2017-05-31Add support for EV_RECEIPT and EV_DISPATCH flagsMike Belopuhov
2017-05-31new socketoption SO_ZEROIZE: zero out all mbufs sent over socketMarkus Friedl
2017-05-30getrtable() is now permitted in "stdio". It carries no risk factors.Theo de Raadt
2017-05-27Push the NET_LOCK down into PF_KEY so that it can be treated like PF_ROUTE.Claudio Jeker
2017-05-27Use copyin32(9) to atomically copy the futex from user space.Mark Kettenis
2017-05-27Put an assert that M_PKTHDR is set before accessing m_pkthdr in theAlexander Bluhm
2017-05-27Refactor m_makespace() using MCLGETI to simplify the logic of this function.Claudio Jeker
2017-05-27Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC orClaudio Jeker