summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Expand)Author
2017-01-31Remove the inifioctl hack, checking for an unheld NET_LOCK() inMartin Pieuchot
2017-01-27In sosend() the size of the control message for file descriptorAlexander Bluhm
2017-01-26Allocate the mbuf before the netlock. While here, move the setting ofDavid Hill
2017-01-26Do not hold the netlock while pool_get() may sleep. It is notAlexander Bluhm
2017-01-25Introduce a hack to remove false-positives when looking for memoryMartin Pieuchot
2017-01-25As NET_LOCK() is a read/write lock, it can sleep in sotask(). SoAlexander Bluhm
2017-01-25Clear the reference of the original mbuf chain after m_split()'ingMartin Pieuchot
2017-01-25Allocate and connect sockets first, then upon success create fileTheo de Raadt
2017-01-25deSCARGize sys_ptrace()Philip Guenther
2017-01-25Enable the NET_LOCK(), take 2.Martin Pieuchot
2017-01-25 +arm64Theo de Raadt
2017-01-24Force a context switch for every pool_get(9) with the PR_WAITOK flagMartin Pieuchot
2017-01-24In accept(2) and accept4(2) allocate a new file descriptor beforeMartin Pieuchot
2017-01-24Display process group in "ps /w" since they got removed from "ps /n".Martin Pieuchot
2017-01-24Display the thread ID (TID) rather than the process group ID (PGRP)Martin Pieuchot
2017-01-24Track a per-fd flag UF_PLEDGED. This indicates the initial open was done by aTheo de Raadt
2017-01-24Rename pfind(9) into tfind(9) to reflect that it deals with threads.Martin Pieuchot
2017-01-23File descriptor passing internalizes fd's into an mbuf-stored array ofTheo de Raadt
2017-01-23Allocate all memory chunks, and potentially sleeping, before freeingMartin Pieuchot
2017-01-23Avoid curproc dance in dupfdopen(), by passing a struct proc *Theo de Raadt
2017-01-23The function raw_input() has not been called since netiso has beenAlexander Bluhm
2017-01-23Backwards compat for pledge "ioctl" for about a weekTheo de Raadt
2017-01-23Split pledge "ioctl" into "tape" and "bpf", and allow SIOCGIFGROUP onlyTheo de Raadt
2017-01-23whitespaceTheo de Raadt
2017-01-21p_comm is the process's command and isn't per thread, so move it fromPhilip Guenther
2017-01-15When traversing the mount list, the current mount point is lockedAlexander Bluhm
2017-01-11Move the membar in counters_read(). It has to be between readingAlexander Bluhm
2017-01-10Fix white spaces. No binary change.Alexander Bluhm
2017-01-10Replace manual for() loops with FOREACH() macro.Alexander Bluhm
2017-01-10Remove the unused olddp parameter from function dounmount().Alexander Bluhm
2017-01-09Revert previous, it's a documented behavior and people might rely on it.Martin Pieuchot
2017-01-09Stop and restart the watchdog timer when entering and leaving ddb(4).Martin Pieuchot
2017-01-01copyright++;Jonathan Gray
2016-12-29Change NET_LOCK()/NET_UNLOCK() to be simple wrappers aroundMartin Pieuchot
2016-12-29Release the NET_LOCK() before calling unp_connect(). It is not possibleMartin Pieuchot
2016-12-22Release the NET_LOCK() before namei(9) as a workaround to let NFS bootMartin Pieuchot
2016-12-22Revert workaround for NFS boot, it triggers the following assert:Martin Pieuchot
2016-12-22Work around a NET_LOCK() recursion seen during NFS netboot:Visa Hankala
2016-12-20Grab the NET_LOCK() in so{s,g}etopt(), pffasttimo() and pfslowtimo().Martin Pieuchot
2016-12-20A NET_LOCK() was is missing in tcp_sysctl() which shows up as splAlexander Bluhm
2016-12-19Introduce the NET_LOCK() a rwlock used to serialize accesses to the partsMartin Pieuchot
2016-12-18Include sys/proc.h when compiled with SYSCALL_DEBUG to get access toPatrick Wildt
2016-11-29m_free() and m_freem() test for NULL. Simplify callers which had their ownJonathan Gray
2016-11-28Remove NULL checks before m_free{m,}().Martin Pieuchot
2016-11-23Some socket splicing tests on loopback hang with large mbufs andAlexander Bluhm
2016-11-22Enforce that ifioctl() is called at IPL_SOFTNET.Martin Pieuchot
2016-11-22Enforce that pr_ctlinput, pr_slowtimo and pr_fasttimo are calledMartin Pieuchot
2016-11-22Enforce that pr_ctloutput is called at IPL_SOFTNET.Martin Pieuchot
2016-11-21Kill rtioctl() stub, returning EOPNOTSUPP since tree import.Martin Pieuchot
2016-11-21Enforce that pr_usrreq functions are called at IPL_SOFTNET.Martin Pieuchot