cvs commit: src/sys/vfs/gnu/ext2fs ext2_lookup.c src/sys/vfs/isofs/cd9660 cd9660_vnops.c src/sys/vfs/msdosfs msdosfs_vnops.c src/sys/vfs/procfs procfs_vnops.c src/sys/vfs/udf udf_vnops.c src/sys/vfs/ufs ufs_vnops.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri May 26 10:00:00 PDT 2006
dillon 2006/05/26 09:56:34 PDT
DragonFly src repository
Modified files:
sys/vfs/gnu/ext2fs ext2_lookup.c
sys/vfs/isofs/cd9660 cd9660_vnops.c
sys/vfs/msdosfs msdosfs_vnops.c
sys/vfs/procfs procfs_vnops.c
sys/vfs/udf udf_vnops.c
sys/vfs/ufs ufs_vnops.c
Log:
* Fix a number of cases where too much kernel memory might be allocated to
satisfy a directory read operation.
* Calculate a minimum of (1) allocated directory cookie and limit the maximum
to 1024.
* Rewrite ufs_readdir() (part 1/2) to use the buffer cache instead of
allocating a kernel buffer and to do better validation of the scanned
directory entries.
* Use a simpler fix for EXT2FS.
Reported-by: [NetBSD.org #7471]
Revision Changes Path
1.23 +10 -2 src/sys/vfs/gnu/ext2fs/ext2_lookup.c
1.26 +8 -4 src/sys/vfs/isofs/cd9660/cd9660_vnops.c
1.38 +3 -1 src/sys/vfs/msdosfs/msdosfs_vnops.c
1.33 +10 -5 src/sys/vfs/procfs/procfs_vnops.c
1.22 +3 -1 src/sys/vfs/udf/udf_vnops.c
1.49 +101 -67 src/sys/vfs/ufs/ufs_vnops.c
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/gnu/ext2fs/ext2_lookup.c.diff?r1=1.22&r2=1.23&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/isofs/cd9660/cd9660_vnops.c.diff?r1=1.25&r2=1.26&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/msdosfs/msdosfs_vnops.c.diff?r1=1.37&r2=1.38&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/procfs/procfs_vnops.c.diff?r1=1.32&r2=1.33&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/udf/udf_vnops.c.diff?r1=1.21&r2=1.22&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ufs_vnops.c.diff?r1=1.48&r2=1.49&f=u
More information about the Commits
mailing list