freebsd-skq/sys
jeff 9e1f35189b - Fix a leaked reference to a vnode via v_dd. We rely on cache_purge() and
cache_zap() to clear the v_dd pointers when a directory vnode is forcibly
   discarded.  For this to work, all vnodes with v_dd pointers to a directory
   must also have name cache entries linked via v_cache_dst to that dvp
   otherwise we could not find them at cache_purge() time.  The following
   code snipit could break this guarantee by unlinking a directory before
   fetching it's dotdot.  The dotdot lookup would initialize the v_dd field
   of the unlinked directory which could never be cleared.  To fix this
   we don't initialize v_dd for orphaned vnodes.
        printf("rmdir: %d\n", rmdir("../foo")); /* foo is cwd */
        printf("chdir: %d\n", chdir(".."));
        printf("%s\n", getwd(NULL));

Sponsored by:	Isilon Systems, Inc.
Discovered by:	kkenn
Approved by:	re (blanket vfs)
2005-06-17 01:05:13 +00:00
..
alpha Do not allocate memory based on not-checked argument from userland. 2005-06-11 14:58:20 +00:00
amd64 Move IPI_PREEMPTION option from global NOTES file to i386+amd64 specific 2005-06-14 14:21:25 +00:00
arm Try harder to detect if the allocated memory for L2 PTP comes from a 1MB 2005-06-16 13:23:39 +00:00
boot Improved markup, fixes some spelling and grammar. 2005-06-14 08:49:14 +00:00
bsm For consistency with more system include files, add a trailing '_' to 2005-05-29 16:11:34 +00:00
cam Add a quirk for my pen-drive. 2005-06-09 17:35:04 +00:00
coda - Change all filesystems and vfs_cache to relock the dvp once the child is 2005-04-13 10:59:09 +00:00
compat Do not allocate memory based on not-checked argument from userland. 2005-06-11 14:58:20 +00:00
conf Preserve sorting order. 2005-06-16 15:07:16 +00:00
contrib locking on exit of reading from ip_sync is not correct for all instances 2005-06-14 09:18:26 +00:00
crypto gbde(8) is also rejndael user. 2005-03-11 22:07:04 +00:00
ddb Don't enter the debugger if KDB_UNATTENDED is set or if 2005-04-20 20:52:46 +00:00
dev Some chipset drivers redefine the busspace_isa_{io|mem} tags. This 2005-06-16 18:06:38 +00:00
doc
fs Avoid casting from (int *) to (size_t *) in order to fix udf_iconv on amd64. 2005-06-05 02:09:48 +00:00
gdb check return value of gdb_rx_varhex 2005-03-28 18:31:18 +00:00
geom After provider creation!! 2005-05-25 15:54:17 +00:00
gnu Add standard GPL boilerplate to these files. They are the only ones 2005-06-16 06:51:38 +00:00
i4b Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
i386 Move IPI_PREEMPTION option from global NOTES file to i386+amd64 specific 2005-06-14 14:21:25 +00:00
ia64 Define IPI_PREEMPT. Update a nearby comment while I'm here. 2005-06-12 19:03:01 +00:00
isa - Hook up the new locations of the atkbdc(4), atkbd(4) and psm(4) source 2005-06-10 20:56:38 +00:00
isofs/cd9660 - Change all filesystems and vfs_cache to relock the dvp once the child is 2005-04-13 10:59:09 +00:00
kern - Fix a leaked reference to a vnode via v_dd. We rely on cache_purge() and 2005-06-17 01:05:13 +00:00
libkern Fix kiconv on the 64bit plathomes. 2005-05-24 15:38:08 +00:00
modules Move ext2fs from src/gnu to src/gnu/fs. 2005-06-15 02:36:11 +00:00
net Initialze ifp->if_softc. 2005-06-13 17:17:07 +00:00
net80211 revert 1.53; it breaks ibss merge 2005-06-13 21:01:06 +00:00
netatalk Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
netatm Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
netgraph Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
netinet In verify_rev_path6(): 2005-06-16 14:55:58 +00:00
netinet6 Fix IPv6 neighbor discovery by using IF_LLADDR to get the mac address 2005-06-12 00:45:24 +00:00
netipsec Correct typo in a comment describing vshiftl(). 2005-06-02 23:56:10 +00:00
netipx Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
netkey fixed an unexpected addr/port matching failure in IPv6 SA management 2005-01-10 13:06:42 +00:00
netnatm Mark netatm and netnatm explicitly as requiring Giant, as they still do. 2005-02-17 14:21:22 +00:00
netncp avoid potential null ptr derefs 2005-02-23 22:44:38 +00:00
netsmb lockmgr(...,LK_DRAIN,...) requires a balancing LK_RELEASE: recent 2005-05-13 11:27:48 +00:00
nfs
nfs4client - We want if (mrep != NULL) not if (m_freem != NULL). m_freem will never 2005-04-25 05:11:19 +00:00
nfsclient Ifdef out the incomplete non-blocking IO implementation for NFS 2005-06-16 15:43:17 +00:00
nfsserver NFS write gathering defers execution of NFS server write requests to wait 2005-04-17 16:25:36 +00:00
opencrypto malloc.h relies on param.h for a definition of MAXCPU. I guess that there is 2005-05-30 05:01:44 +00:00
pc98 Sync with syscons update (Add new member to struct sc_rndr_sw). 2005-05-29 11:53:14 +00:00
pccard Change a directory layout for pc98. 2005-05-10 12:02:18 +00:00
pci Move if_alloc() up so it's before mii_phy_probe(). 2005-06-11 01:37:46 +00:00
posix4 Introduce MAC Framework and MAC Policy entry points to label and control 2005-05-04 10:39:15 +00:00
powerpc Unbreak the PowerPC GENERIC build. 2005-06-11 10:59:02 +00:00
rpc - Don't call rpcclnt_realign() if we don't have any mbufs to realign. 2005-03-19 01:16:25 +00:00
security Correct grammar error in comment 2005-06-10 04:44:38 +00:00
sparc64 Turn on atkbdc(4), atkbd(4), creator(4), machfb(4), syscons(4), ohci(4), 2005-06-10 23:11:16 +00:00
sys - Don't make vgonel() globally visible, we want to change its prototype 2005-06-13 06:26:55 +00:00
tools Allow EVFILT_VNODE events to work on every filesystem type, not just 2005-06-09 20:20:31 +00:00
ufs Allow EVFILT_VNODE events to work on every filesystem type, not just 2005-06-09 20:20:31 +00:00
vm Increase UMA_BOOT_PAGES to prevent a crash during initialization. See 2005-06-16 17:06:34 +00:00
Makefile When building cscopnamefile, default architecture to ${MACHINE}, not i386. 2005-03-08 00:09:41 +00:00