Age | Commit message (Collapse) | Author | |
---|---|---|---|
2001-06-22 | KNF | Theo de Raadt | |
2001-05-25 | recover old acecept(2) behavior (no ECONNABORTED) for unix domain socket. | Jun-ichiro itojun Hagino | |
it is to be friendly with postfix daemon-to-daemon communication (not 100% sure if which behavior is correct, specwise). patch similar to netbsd. | |||
2001-03-06 | different fix, we still need to deliver EV_EOF; from jlemon@freebsd.org | Niels Provos | |
2001-03-06 | fix a kqueue related panic triggered by shutdown, okay art@ | Niels Provos | |
2001-03-01 | port kqueue changes from freebsd, plus all required openbsd glue. | Niels Provos | |
okay deraadt@, millert@ from jlemon@freebsd.org: extend kqueue down to the device layer, backwards compatible approach suggested by peter@freebsd.org | |||
2001-02-07 | return ECONNABORTED, if the socket (tcp connection for example) | Jun-ichiro itojun Hagino | |
is disconnected by RST right before accept(2). fixes NetBSD PR 10698/12027. checked with SUSv2, XNET 5.2, and Stevens (unix network programming vol 1 2nd ed) section 5.11. | |||
2001-01-23 | when the peer is disconnected before accept(2) is issued, | Jun-ichiro itojun Hagino | |
do not return junk data in mbuf (= sockaddr on accept(2)'s 2nd arg). set the length to zero. behavior checked with bsdi and freebsd. partial solution to NetBSD PR 12027 and 10698 (need more investigation). | |||
2000-11-16 | support kernel event queues, from FreeBSD by Jonathan Lemon, | Niels Provos | |
okay art@, millert@ | |||
1999-10-14 | Fix for PR 871. | cmetz | |
This fix is taken from BSD/OS (the file in question being BSD licensed). It continues to remove a datagram from a socket receive buffer even if there is an error on the copy-out, so as to leave the buffer in a reasonable state. Before, the kernel would stop in mid-receive if the copy-out failed, and the buffer's structural requirements would be violated (since the start of a datagram must be an address iff ). Note that if the user provides any invalid addresses as arguments to a recvmsg(), the datagram at the front of the buffer will be discarded. The more correct behavior would be not to remove this datagram if the arguments are invalid. Implementing this behavior requires a lot of significant changes, and socket receives are a critical path. Also included are two simple and fairly obvious fixes from the same source. If non-blocking I/O is set, it makes sure the receieve is non-blocking. It also fixes a slightly over-aggressive optimization. | |||
1999-02-19 | fixed patch for accept/select race; mycroft@netbsd.org | Todd C. Miller | |
1999-02-18 | undo select/accept patch, which causes full listen queues apparently | Theo de Raadt | |
1999-02-05 | support MSG_BCAST and MSG_MCAST | Theo de Raadt | |
1999-01-21 | Fixes select(2)/accept(2) race condition which permits DoS; mycroft@netbsd.org | Todd C. Miller | |
1998-07-28 | Return EINVAL when msg_iovlen or iovcnt <= 0; Make uio_resid unsigned ↵ | Todd C. Miller | |
(size_t) and don't return EINVAL if it is < 0 in sys_{read,write}. Remove check for uio_resid < 0 uiomove() now that uio_resid is unsigned and brack remaining panics with #ifdef DIAGNOSTIC. vn_rdwr() must now take a size_t * as its 9th argument so change that and clean up uses of vn_rdwr(). Fixes 549 + more | |||
1998-02-14 | add seperate so_euid & so_ruid to struct socket, so that identd is still ↵ | Theo de Raadt | |
fast.. Sigh. I will change this again later | |||
1998-01-06 | so_linger is in seconds | Theo de Raadt | |
1997-11-15 | for shutdown(2), if "how" is not 0-2, return EINVAL | Theo de Raadt | |
1997-11-11 | MSG_EOR on SOCK_STREAM is invalid; wollman | Theo de Raadt | |
1997-08-31 | for non-tty TIOCSPGRP/F_SETOWN/FIOSETOWN pgid setting calls, store uid | Theo de Raadt | |
and euid as well, then deliver them using new csignal() interface which ensures that pgid setting process is permitted to signal the pgid process(es). Thanks to newsham@aloha.net for extensive help and discussion. | |||
1997-08-31 | mbuf leak repair; mycroft@netbsd | Theo de Raadt | |
1997-06-29 | constrain lowwater >= highwater | Theo de Raadt | |
1997-06-23 | oops | Theo de Raadt | |
1997-06-23 | for SO_SND*/SO_RCV*, clip low-end of parameter to 1 | Theo de Raadt | |
1997-06-06 | SO_SNDTIMEO tv_usec calc error; stevens, vol2, p548 | Theo de Raadt | |
1997-02-28 | Moved IPsec socket state to the PCB. | Angelos D. Keromytis | |
1997-02-28 | New variables for system-wide security default levels. | Angelos D. Keromytis | |
1997-02-28 | IPsec socket API additions. | Angelos D. Keromytis | |
1996-12-16 | uiomove not checked for failure; wpaul@skynet.ctr.columbia.edu | Theo de Raadt | |
1996-09-20 | `solve' the syn bomb problem as well as currently known; add sysctl's for | Theo de Raadt | |
SOMAXCONN (kern.somaxconn), SOMINCONN (kern.sominconn), and TCPTV_KEEP_INIT (net.inet.tcp.keepinittime). when this is not enough (ie. overfull), start doing tail drop, but slightly prefer the same port. | |||
1996-08-24 | change to so_uid, also fix a missing credential found by dm | Theo de Raadt | |
1996-08-14 | incorrect size calculation in mbuf copying, netbsd pr#2692; fix from ↵ | Theo de Raadt | |
explorer@flame.org | |||
1996-08-05 | struct socket gets so_ucred; permit only same uid or root to do port takeover. | Theo de Raadt | |
1996-03-03 | From NetBSD: 960217 merge | Niklas Hallqvist | |
1996-03-03 | from NetBSD: so it compiles now again ;) | Michael Shalayeff | |
1995-10-18 | initial import of NetBSD tree | Theo de Raadt | |