summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_usrreq.c
AgeCommit message (Expand)Author
2018-06-20Unlock sendmsg(2) and sendto(2).Martin Pieuchot
2018-06-11Do not unlock the KERNEL_LOCK() unconditionally in sounlock().Martin Pieuchot
2018-06-07Make callers of VOP_CREATE(9) and VOP_MKNOD(9) responsible forVisa Hankala
2018-06-06Pass the socket to sounlock(), this prepare the terrain for per-socketMartin Pieuchot
2018-04-28Clean up the parameters of VOP_LOCK() and VOP_UNLOCK(). It is alwaysVisa Hankala
2018-04-27Move FREF() inside fd_getfile().Martin Pieuchot
2018-04-18Call FREF(9) earlier instead of incrementing `f_count' by hand.Martin Pieuchot
2018-01-04Unifdef snd/rcv.Martin Pieuchot
2017-12-19Remove a 27 year old #ifdef notdef chunk involving SB_LOCK.Martin Pieuchot
2017-12-19Inline socket buffer related defines, no functional change.Martin Pieuchot
2017-11-02Move PRU_DETACH out of pr_usrreq into per proto pr_detachFlorian Obser
2017-08-11Validate sockaddr from userland in central functions. This resultsAlexander Bluhm
2017-06-26Assert that the corresponding socket is locked when manipulating socketMartin Pieuchot
2017-03-13Move PRU_ATTACH out of the pr_usrreq functions into pr_attach.Claudio Jeker
2017-02-14Wrap the NET_LOCK() into a per-socket solock() that does nothing forMartin Pieuchot
2017-02-09Temporarily grab the NET_LOCK() around soisdisconnected().Martin Pieuchot
2017-02-09Release the NET_LOCK() before calling unp_detach(), fix a recursionMartin Pieuchot
2017-01-27In sosend() the size of the control message for file descriptorAlexander Bluhm
2017-01-25Enable the NET_LOCK(), take 2.Martin Pieuchot
2017-01-24Track a per-fd flag UF_PLEDGED. This indicates the initial open was done by aTheo de Raadt
2017-01-23File descriptor passing internalizes fd's into an mbuf-stored array ofTheo de Raadt
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-19Introduce the NET_LOCK() a rwlock used to serialize accesses to the partsMartin Pieuchot
2016-11-29m_free() and m_freem() test for NULL. Simplify callers which had their ownJonathan Gray
2016-08-26The *_HEAD_INITIALIZER() macros are documented as taking the struct,Philip Guenther
2016-08-17Fix an mbuf leak and missing error propagation in uipc_usrreq(PRU_SEND)Alexander Bluhm
2016-07-19instead of messing about with pointer arithmetic, add an empty arrayTed Unangst
2016-07-12in the great unp_gc rewrite, a null check was lost. we have spent someTed Unangst
2016-07-12The check for pledge "recvfd" was mistakenly only being performedTheo de Raadt
2016-04-25remove systrace remnantsTed Unangst
2016-03-19Remove the unused flags argument from VOP_UNLOCK().natano
2015-12-05remove stale lint annotationsTed Unangst
2015-11-03AF_UNIX connect is a "unix" operation, not "rpath wpath"Theo de Raadt
2015-11-02move the pledgenote annotation from `struct proc' to `struct nameidata'Sebastien Marie
2015-11-01refactor pledge_*_check and pledge_fail functionsSebastien Marie
2015-11-01bind() on AF_UNIX should set PLEDGE_UNIX not PLEDGE_CPATH; ok semarieTheo de Raadt
2015-10-25Fold "malloc" into "stdio" and -- recognizing that no program so far hasTheo de Raadt
2015-10-18Instead of fragile CMSG parsing, control pledge "sendfd" and "recvfd"Theo de Raadt
2015-10-17connect() to an AF_UNIX socket is really read/write, so tell pledge thisTheo de Raadt
2015-10-09Rename tame() to pledge(). This fairly interface has evolved to be moreTheo de Raadt
2015-08-29sizes for free(); ok guentherTheo de Raadt
2015-08-28Rework the UNIX domain socket garbage collector, including ideas fromPhilip Guenther
2015-08-22Move to tame(int flags, char *paths[]) API/ABI.Theo de Raadt
2015-07-28For unix domain sequenced packet socket pairs the ruby regressionAlexander Bluhm
2015-07-18Change unp_scan() and its callbacks to pass the array of struct file **Philip Guenther
2015-06-30Get rid of the undocumented & temporary* m_copy() macro added forMartin Pieuchot