summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_usrreq.c
AgeCommit message (Expand)Author
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
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-08-23Use LIST_ macros for the list of all struct file.Artur Grabowski
2002-03-14First round of __P removal in sysTodd C. Miller
2002-02-19Heh. Don't assume that sizeof(void *) > sizeof(int).Artur Grabowski
2002-02-11Big fixup of fd passing. It now works, even on sparc64.Artur Grabowski
2002-02-08- Rename FILE_{,UN}USE to FREF and FRELE. USE is a bad verb and we don't haveArtur Grabowski
2002-02-05Add counting of temporary references to a struct file (as opposed to referencesArtur Grabowski
2002-02-02Be more consistent about using fd_getfile where it matters.Artur Grabowski
2001-10-26 - every new fd created by falloc() is marked as larval and should not be usedArtur Grabowski
2001-10-26 - split fdalloc into two functions. fdalloc now returns ENOSPC if itArtur Grabowski
2001-06-26implement djb's getpeereid(2), to allow local-domain servers to determine cli...Dug Song
2001-04-06Move offsetof define into sys/param.hConstantine Sapuntzakis
1999-10-11for AF_UNIX, do not follow symlinks when creating sockets, terminateTheo de Raadt
1999-02-05Check that a socket we're closing is really a socket. dillon@freebsdAngelos D. Keromytis
1998-03-01crank f_count/f_msgcount to long; when incrementing try to leave 2 slotsTheo de Raadt
1997-11-17kleink: When fstat(2)ing a file descriptor of a local communications domainTheo de Raadt
1997-11-06Updates for VFS Lite 2 + soft update.Constantine Sapuntzakis
1997-10-06back out vfs lite2 till after 2.2Theo de Raadt
1997-10-06VFS Lite2 ChangesConstantine Sapuntzakis
1997-06-05fix sendmsg() credential passing on 64 bit machines, i hope. (this was hellish)Theo de Raadt
1996-06-25consider umask for AF_UNIX bind()Theo de Raadt