summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_usrreq.c
AgeCommit message (Expand)Author
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
2015-03-28Replace the hand-crafted list of datagram unix domain sockets withAlexander Bluhm
2014-12-11convert bcopy to memcpy/memmove. ok krwTed Unangst
2014-11-03pass size argument to free()Theo de Raadt
2014-08-31Add additional kernel interfaces for setting close-on-exec on fdsPhilip Guenther
2014-07-13bzero -> memset. for the speeds.Ted Unangst
2014-07-13use mallocarray where arguments are multipled. ok deraadtTed Unangst
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-03-18In prep for killing ps_mainproc, use pr->ps_pid instead ofPhilip Guenther
2014-01-24Copy timespecs member by member in fo_stat callback functions, to avoidPhilip Guenther
2013-04-05remove some obsolete castsTed Unangst
2013-03-30vrele() is a tricky beast. it can sleep if the refcount hits zero,Ted Unangst
2012-10-12For consistency with other OSes and ease of porting, makePhilip Guenthe
2012-09-02Do not need bcopy trickery to update the file descriptorTheo de Raadt
2012-08-23To protect assumptions inside systrace, don't let systrace fds bePhilip Guenthe
2012-04-26Cleanup unp_bind() a little:Matthew Dempsky
2012-04-23Don't leak mbufs when bind() on a PF_UNIX socket fails.Matthew Dempsky
2012-04-14Do not just return in case the provided control buffer is too short sinceClaudio Jeker