summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_usrreq.c
AgeCommit message (Expand)Author
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
2012-04-14Free tmp buffer in case the cluster allocation failed. Found by David Hill.Claudio Jeker
2012-04-14Revert rev 1.58, as it frees an uninitialized pointerPhilip Guenthe
2012-04-13gc unused functionTheo de Raadt
2012-04-13Don't convert a mbuf to a cluster and think the data in the mbuf is stillClaudio Jeker
2012-04-13oops, wrong version of diff in previousTheo de Raadt
2012-04-13Do not clamp the file descriptors to the buffer size; that leads toTheo de Raadt
2012-04-13unneccessary casts to unsigned; ok claudioTheo de Raadt
2012-04-11In sendmsg() permit at most 10% of maxfiles to be in-flightTheo de Raadt
2011-07-06Implement SOCK_SEQPACKET for UNIX sockets.Matthew Dempsky
2011-07-06Correct the check for a sun_path that lacks NUL termination to just requirePhilip Guenthe
2011-07-05Enforce that the path to the unix socket fits into struct sockaddr_unClaudio Jeker