summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_usrreq.c
AgeCommit message (Expand)Author
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
2011-06-28Rename FMARK to FIF_MARK and FDEFER to FIF_DEFER andThordur I. Bjornsson
2011-05-17Ban passing of kqueue descriptors via UNIX domain sockets. Currently,Philip Guenthe
2011-04-04COMPAT_O47 (kernel getpeereid, which was replaced by libc getpeereid)Theo de Raadt
2010-10-18PRU_PEEREID is only used by code under COMPAT_O47, so put it there tooPhilip Guenthe
2010-07-02structure copy the unp_connid to the other socketTheo de Raadt
2010-07-01SO_PEERCRED should pass out the main pid, not the "pid" of the currentTheo de Raadt
2010-06-30Add getsockopt SOL_SOCKET SO_PEERCRED support. This behaves similar toTheo de Raadt
2009-02-22fix PR 6082: do not create more fd's than will fit in the message onOtto Moerbeek
2009-01-29Switch struct stat's timespec members to the names standardized inPhilip Guenthe
2008-05-23Deal with the situation when TCP nfs mounts timeout and processesThordur I. Bjornsson
2008-04-15describe why fd passing is now so fucked up, and who's fault it isTheo de Raadt
2008-04-10Make sure the fd passing code only accepts control messages without paddingMark Kettenis
2008-04-08unp_internalize() repaired wrong file structs on error. ok deraadt@, kettenis@Stefan Kempf
2008-04-02repair code which blocks passing fd's for block devices orTheo de Raadt
2008-03-24We were led astray (like many others before us) to believe thatTheo de Raadt
2007-11-28a few more places where getmicrotime is good enough. ok miodTed Unangst
2007-10-29For fd passing, at externalize time we are dealing with int[] not pointer[],Theo de Raadt
2007-09-07Use M_ZERO in a few more places to shave bytes from the kernel.Artur Grabowski
2007-01-16Retire VOP_LEASE(); It was a bit for NQNFS and hasThordur I. Bjornsson
2006-11-17Make getpeereid() work on both sides of a connection. The client can now getClaudio Jeker
2006-10-31undo unp_internalize in case of errors; report Christian Biere; ok claudioMarkus Friedl
2006-02-27Do not stupidly panic but return ENOTCONN when trying to pass fds on anMiod Vallat
2006-01-05ansi/deregisterJonathan Gray
2005-05-17under some circunstances, unp_scan() can call unp_mark() with a null pointer,Federico G. Schwindt
2004-07-22remove p arg from fdplockTed Unangst
2004-06-24This moves access to wall and uptime variables in MI code,Thorsten Lockert
2004-04-01use NULL for ptrs. parts from Joris VinkTed Unangst
2004-01-06lock filedesc before manipulating. avoids some rare races.Ted Unangst
2003-08-17unused varTed Unangst