summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_socket.c
AgeCommit message (Expand)Author
2007-02-26exclude control data from the number of bytes returned by FIONREAD ioctl()Kurt Miller
2007-02-14Consistently spell FALLTHROUGH to appease lint.Jonathan Gray
2006-06-10allow SO_SNDBUF and SO_RECVBUF setsockopts on existing sockets to succeedBob Beck
2006-03-04With the exception of two other small uncommited diffs this movesBrad Smith
2006-01-05ansi/deregisterJonathan Gray
2005-09-16backout until we find a socket state for initTheo de Raadt
2005-09-10upon shutdown(), if socket is unconnected return ENOTCONN; ok millertTheo de Raadt
2005-08-11Use SHUT_* values directly in soshutdown() instead of convertingTodd C. Miller
2005-05-27add a field to struct socket that stores the pid of the process thatDaniel Hartmeier
2005-05-27Experimental support for opportunitic use of jumbograms where only some hostsRyan Thomas McBride
2004-11-18enable receive() accounting and use uio_procp for send() accounting, tooMarkus Friedl
2004-09-16add hint for lower layer that a sosend() is in progress (SS_ISSENDING)Markus Friedl
2004-07-28Call dom_dispose() for any SCM_RIGHTS message that went through theTodd C. Miller
2004-04-19also use sbcheckreserve() for setsockopt of SO_SNDBUF and SO_RCVBUFTheo de Raadt
2004-04-01use NULL for ptrs. parts from Joris VinkTed Unangst
2003-07-21remove caddr_t casts. it's just silly to cast something when the functionTed Unangst
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-02-03knfTheo de Raadt
2002-11-27Avoid possible wraparound when checking timeout size; mickey@ OKTodd C. Miller
2002-11-27fix an underflow in socket timeout calculations.Michael Shalayeff
2002-08-08redo socketbuf speedup.Niels Provos
2002-08-08backout the tree break. ok pb@, art@Todd T. Fries
2002-08-08socket buf speedup from thorpej@netbsd, okay art@ ericj@:Niels Provos
2002-06-11splassert where necessaryArtur Grabowski
2002-05-11track egid/rgid on bound/connected sockets too (pf will use this)Theo de Raadt
2002-02-05Do range check on SO_LINGER, closes pr#2375. art@ okThomas Nordin
2002-01-23Pool deals fairly well with physical memory shortage, but it doesn't dealArtur Grabowski
2001-11-28avoid possible infinite loop in sosend() on 64bit systems. - from netbsdEric Jackson
2001-11-27change socket allocation to pool allocator; from netbsd; okay niklas@Niels Provos
2001-11-27fix an error in sosend() that could make a transient error permant.Niels Provos
2001-11-27change socket connection queues to use TAILQ_Niels Provos
2001-06-22KNFTheo de Raadt
2001-05-25recover old acecept(2) behavior (no ECONNABORTED) for unix domain socket.Jun-ichiro itojun Hagino
2001-03-06different fix, we still need to deliver EV_EOF; from jlemon@freebsd.orgNiels Provos
2001-03-06fix a kqueue related panic triggered by shutdown, okay art@Niels Provos
2001-03-01port kqueue changes from freebsd, plus all required openbsd glue.Niels Provos
2001-02-07return ECONNABORTED, if the socket (tcp connection for example)Jun-ichiro itojun Hagino
2001-01-23when the peer is disconnected before accept(2) is issued,Jun-ichiro itojun Hagino
2000-11-16support kernel event queues, from FreeBSD by Jonathan Lemon,Niels Provos
1999-10-14Fix for PR 871.cmetz
1999-02-19fixed patch for accept/select race; mycroft@netbsd.orgTodd C. Miller
1999-02-18undo select/accept patch, which causes full listen queues apparentlyTheo de Raadt
1999-02-05support MSG_BCAST and MSG_MCASTTheo de Raadt
1999-01-21Fixes select(2)/accept(2) race condition which permits DoS; mycroft@netbsd.orgTodd C. Miller
1998-07-28Return EINVAL when msg_iovlen or iovcnt <= 0; Make uio_resid unsigned (size_t...Todd C. Miller
1998-02-14add seperate so_euid & so_ruid to struct socket, so that identd is still fast...Theo de Raadt
1998-01-06so_linger is in secondsTheo de Raadt
1997-11-15for shutdown(2), if "how" is not 0-2, return EINVALTheo de Raadt
1997-11-11MSG_EOR on SOCK_STREAM is invalid; wollmanTheo de Raadt
1997-08-31for non-tty TIOCSPGRP/F_SETOWN/FIOSETOWN pgid setting calls, store uidTheo de Raadt