NetBSD/sys
sommerfe 098b6f8e8a Disallow descriptor-passing of descriptors which are open on
directories which aren't under the recipient's root.

Clean up of many error conditions involving descriptor passing, to
eliminate infinite loops, panics, premature garbage collection of
sockets, and descriptor leaks:
 - Avoid letting unp_gc() see descriptors with a refcount of zero by
removing them from the socket's queue before releasing them.
 - Avoid socket leak in PRU_ABORT (this will also gc descriptors queued
on a not-yet accepted socket when the accepting socket goes away).
 - Put in block comment explaining how unp_gc() should work.
 - Correctly manage unp_defer count so we don't get stuck in an infinite
loop with nothing to do.
 - Don't tie MARK and DEFER bits so closely together.
 - Mark descriptors queued on not-yet-accepted sockets as well.
 - Don't call sorflush on non-socket, it doesn't work very well.
 - Deal with discard of NULL file pointer.
 - Hopefully cause GC to converge faster by only deferring sockets in
unp_mark().
1999-03-22 17:54:38 +00:00
..
adosfs Modify vfsops to seperate vfs_fhtovp() into two routines. vfs_fhtovp() now 1999-02-26 23:44:43 +00:00
arch KNF nits. 1999-03-22 13:08:51 +00:00
coda Modify vfsops to seperate vfs_fhtovp() into two routines. vfs_fhtovp() now 1999-02-26 23:44:43 +00:00
compat Use regular system fchroot, now that we have it. 1999-03-22 17:30:37 +00:00
conf Regen files based on changes to syscalls.master, vnode_if.src (latter 1999-03-22 17:13:34 +00:00
ddb Fix printf format problems on Alpha. 1999-02-12 00:50:09 +00:00
dev defopt WSDISPLAY_DEFAULTSCREENS 1999-03-22 16:50:54 +00:00
filecorefs Modify vfsops to seperate vfs_fhtovp() into two routines. vfs_fhtovp() now 1999-02-26 23:44:43 +00:00
gdbscripts
ipkdb
isofs Modify vfsops to seperate vfs_fhtovp() into two routines. vfs_fhtovp() now 1999-02-26 23:44:43 +00:00
kern Disallow descriptor-passing of descriptors which are open on 1999-03-22 17:54:38 +00:00
lib Don't add .abicalls if NO_ABICALLS is defined even if ABICALLS is defined. 1999-03-17 13:31:43 +00:00
lkm Enable this lkm on alpha. 1999-03-18 06:01:42 +00:00
miscfs vinvalbuf, called from vclean, could cause a locking-against-self 1999-03-22 17:24:19 +00:00
msdosfs Fix too tight check for maximum supported partition size. Now partitions 1999-03-07 13:57:20 +00:00
net Define the PPPoE Discovery and PPPoE ethertypes. 1999-03-20 03:37:52 +00:00
netatalk Domains are associated with protocol families, not address families. 1999-01-14 01:16:55 +00:00
netccitt Domains are associated with protocol families, not address families. 1999-01-14 01:16:55 +00:00
netinet exterminate ovbcopy. patches provided by Erik Bertelsen, pr-7145 1999-03-12 22:42:30 +00:00
netiso exterminate ovbcopy. patches provided by Erik Bertelsen, pr-7145 1999-03-12 22:42:30 +00:00
netnatm Domains are associated with protocol families, not address families. 1999-01-14 01:16:55 +00:00
netns Domains are associated with protocol families, not address families. 1999-01-14 01:28:23 +00:00
nfs ..JUKEBOX can happen on writes too. 1999-03-16 23:24:28 +00:00
stand vax -> __vax__ (and mips to __mips__ in ultrix_misc.c) 1998-10-20 01:46:27 +00:00
sys Disallow descriptor-passing of descriptors which are open on 1999-03-22 17:54:38 +00:00
ufs Move dlfs_pad to the end of struct dlfs (after the pad), for upward 1999-03-17 18:38:34 +00:00
uvm VHOLD() must be called at splbio() since HOLDRELE() is called 1999-03-18 01:45:29 +00:00
vm Have unimplemented/unsupported system calls (madvise(), mincore(), sbrk(), 1999-03-09 12:18:22 +00:00
Makefile fix typo 1999-03-10 08:56:16 +00:00