summaryrefslogtreecommitdiffstats
path: root/sys/compat/svr4/svr4_net.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* remove all the compat svr4 filestedu2011-07-041-229/+0
|
* Move contents of sys/select.h to sys/selinfo.h in preparation for amillert2005-11-211-2/+2
| | | | | userland-visible sys/select.h. Consistent with what Net and Free do. OK deraadt@, tested with full ports build by naddy@.
* Replace select backends with poll backends. selscan() and pollscan()millert2003-09-231-2/+2
| | | | | | | now call the poll backend. With this change we implement greater poll(2) functionality instead of emulating it via the select backend. Adapted from NetBSD and including some changes from FreeBSD. Tested by many, deraadt@ OK
* First round of __P removal in sysmillert2002-03-141-3/+3
|
* Opps. unbreak.art2002-02-081-2/+2
|
* - Rename FILE_{,UN}USE to FREF and FRELE. USE is a bad verb and we don't haveart2002-02-081-2/+2
| | | | | | | | | | | | | | the same semantics as NetBSD anyway, so it's good to avoid name collissions. - Always fdremove before freeing the file, not the other way around. - falloc FREFs the file. - have FILE_SET_MATURE FRELE the file (It feels like a good ortogonality to falloc FREFing the file). - Use closef as much as possible instead of ffree in error paths of falloc:ing functions. closef is much more careful with the fd and can deal with the fd being forcibly closed by dup2. Also try to avoid manually calling *fo_close when closef can do that for us (this makes some error paths mroe complicated (sys_socketpair and sys_pipe), but others become simpler (sys_open)).
* - every new fd created by falloc() is marked as larval and should not be usedart2001-10-261-1/+2
| | | | | | | any anyone. Every caller of falloc matures the fd when it's usable. - Since every lookup in the fd table must now check this flag and all of them do the same thing, move all the necessary checks into a function - fd_getfile.
* Add a fo_stat member to struct fileops. Used soon.art2001-05-141-2/+2
| | | | Also add a stat function for kqueue from FreeBSD.
* port kqueue changes from freebsd, plus all required openbsd glue.provos2001-03-011-2/+3
| | | | | | | okay deraadt@, millert@ from jlemon@freebsd.org: extend kqueue down to the device layer, backwards compatible approach suggested by peter@freebsd.org
* introduce fdremove() to mark a file descriptor as unused. fdremove makesprovos1999-07-131-2/+2
| | | | | sure that the fd_freefile hints stay in sync, otherwise free file descriptors might not be overlooked by fdalloc(); ok millert@
* Merge of NetBSD 970211niklas1997-02-131-2/+3
|
* Merge of NetBSD 0722niklas1996-08-011-7/+30
|
* partial sync with netbsd 960418, more to comederaadt1996-04-211-9/+36
|
* Merge of NetBSD 960317niklas1996-04-181-1/+2
|
* Good fixes and changes from latest Net.mickey1996-04-171-5/+6
|
* From NetBSD: update to 960217 sourcesniklas1996-02-261-3/+4
|
* update from netbsdderaadt1995-12-141-1/+3
|
* initial import of NetBSD treederaadt1995-10-181-0/+171