1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/sys
Bill Paul f069164876 Fix two bugs in nfs_readdirplus(). The first is that in some cases,
vnodes are locked and never unlocked, which leads to processes starting
to wedge up after doing a mount -o nfsv3,tcp,rdirplus foo:/fs /fs; ls /fs.
The second is that sometimes cnp is accessed without having been
properly initialized: cnp->cn_nameptr points to an earlier name while
"len" contains the length of a current name of different size. This
leads to an attempt to dereference *(cn->cn_nameptr + len) which will
sometimes cause a page fault and a panic.

With these two fixes, client side readdirplus works correctly with
FreeBSD, IRIX 6.5.4 and Solaris 2.5.1 and 2.6 servers.

Submitted by: Matthew Dillon <dillon@backplane.com>
1999-07-30 04:02:04 +00:00
..
alpha Fix an unbelievably stupid typo that cases as500 & as600 machines booted 1999-07-29 19:09:38 +00:00
amd64 Formatting-only cleanup accidentally omitted from the patch merge in the 1999-07-29 18:47:39 +00:00
boot Fix install target (install loader.exe, not loader). 1999-07-29 22:22:38 +00:00
cam disable tag queing for the MICROP 4421-07 drive. It's an old 2gig drive. 1999-07-11 06:10:47 +00:00
coda Remove the RCS "Log" and all the verbiage it has generated. 1999-07-21 12:51:36 +00:00
compat Use the vn_todev() function, rather than VOP_GETATTR 1999-07-18 14:31:01 +00:00
compile
conf Major update to the kernel's BIOS-calling ability. 1999-07-29 01:49:19 +00:00
contrib Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
ddb The following patch will remove a hack introduced in 1999-07-14 10:53:41 +00:00
dev Revert rev 1.149. Bruce convinced me that the problem already disappeared 1999-07-29 11:27:33 +00:00
fs Don't set DE_ACCESS for unsuccessful reads. 1999-07-25 04:01:32 +00:00
geom Use the vn_todev() function, rather than VOP_GETATTR 1999-07-18 14:31:01 +00:00
gnu Don't set IN_ACCESS for requests to read 0 bytes or for unsuccessful reads. 1999-07-25 02:56:17 +00:00
i4b Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
i386 Formatting-only cleanup accidentally omitted from the patch merge in the 1999-07-29 18:47:39 +00:00
isa Revert rev 1.149. Bruce convinced me that the problem already disappeared 1999-07-29 11:27:33 +00:00
isofs/cd9660 I have not one single time remembered the name of this function correctly 1999-07-17 18:43:50 +00:00
kern lutimes() bug: FOLLOW should be NOFOLLOW for this one. 1999-07-29 17:02:56 +00:00
libkern Add a fast version of bcmp which compares longwords at a time. 1999-06-19 16:30:28 +00:00
miscfs Now a dev_t is a pointer to struct specinfo which is shared by all specdev 1999-07-20 09:47:55 +00:00
modules Add a module Makefile for the PNIC driver. 1999-07-28 02:21:56 +00:00
msdosfs Don't set DE_ACCESS for unsuccessful reads. 1999-07-25 04:01:32 +00:00
net Don't complain if 0 bytes are written to the tun device, simply 1999-07-26 12:11:10 +00:00
netatalk
netatm Allow configuration of up to 256 network interfaces per physical interface - 1999-05-10 23:02:29 +00:00
netinet 8 -> NBBy 1999-07-28 22:27:27 +00:00
netipx
netkey
netnatm
netns
nfs Fix two bugs in nfs_readdirplus(). The first is that in some cases, 1999-07-30 04:02:04 +00:00
nfsclient Fix two bugs in nfs_readdirplus(). The first is that in some cases, 1999-07-30 04:02:04 +00:00
nfsserver Correct the sanity test length calculation in nfsrv_readdirplus(): len is 1999-07-29 21:42:57 +00:00
ntfs Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
pc98 Alter the behavior of sys/kern/subr_bus.c:device_print_child() 1999-07-29 01:03:04 +00:00
pccard Eliminate a bunch of #include "pci.h" and #if NPCI > 0 around entire 1999-07-03 20:17:08 +00:00
pci Alter the behavior of sys/kern/subr_bus.c:device_print_child() 1999-07-29 01:03:04 +00:00
posix4
powerpc Add support for SYS_RES_DENSE and SYS_RES_BWX resource types. These are 1999-07-28 07:57:48 +00:00
rpc
svr4 Rename struct members sa_siginfo. POSIX reserves identifiers starting 1999-07-06 06:55:29 +00:00
sys Alter the behavior of sys/kern/subr_bus.c:device_print_child() 1999-07-29 01:03:04 +00:00
tools Add a vnode argument to VOP_BWRITE to get rid of the last vnode 1999-06-16 23:27:55 +00:00
ufs Fixed access timestamp bugs: 1999-07-25 02:07:16 +00:00
vm Reduce the number of "magic constants" used for page coloring 1999-07-22 06:04:17 +00:00
Makefile Use MACHINE_ARCH instead of MACHINE to check x86 architecture. 1999-06-03 10:38:07 +00:00