freebsd-dev/sys
Bruce Evans 96cae770d3 Fixed some serious bugs in ext2_readdir():
The cookie buffer was usually overrun by a large amount whenever
cookies were used.  Cookies are used by nfs and the Linuxulator, so
this bug usually caused panics whenever an ext2fs filesystem was nfs
mounted or a Linux utility that calls readdir() was run on an ext2fs
filesystem.

The directory buffer was sometimes overrun by a small amount.  This
sometimes caused panics and wrong results even for FreeBSD utilities,
but it was usually harmless because FreeBSD utilities use a large
enough buffer size (4K).  Linux utilities usually triggered the bug
since they use a too-small buffer size (512 bytes), at least with the
old RedHat utilities that I tested with.

PR:	19407 (this fix is incomplete or for a slightly different bug)
2000-09-12 17:10:39 +00:00
..
alpha Turn the /dev/random device into a (pseudo-)device, not an option. 2000-09-12 13:21:40 +00:00
amd64 Don't panic for delivery of a multiplexed SWI. Most SWI handlers 2000-09-12 16:02:43 +00:00
boot Back out bktr_mem_load. It is not needed because I'm use MODULE_DEPEND 2000-09-12 08:41:55 +00:00
cam Change the "Duplicate Wired Device entry" printout in camperiphnextunit to 2000-08-29 22:11:39 +00:00
coda Remove 42 unneeded #include <sys/ioccom.h>. 2000-05-03 07:31:38 +00:00
compat Remove unused variables. 2000-09-09 14:35:35 +00:00
compile
conf Turn the /dev/random device into a (pseudo-)device, not an option. 2000-09-12 13:21:40 +00:00
contrib/dev Install mode 644, not mode 664 during kernel compile. Yes, Peter, I am 2000-08-15 11:06:56 +00:00
crypto sync with kame tree as of july00. tons of bug fixes/improvements. 2000-07-04 16:35:15 +00:00
ddb Previous commit changing SYSCTL_HANDLER_ARGS violated KNF. 2000-07-04 11:25:35 +00:00
dev The "struct proc" argument to read_random was ill-conceived, and a 2000-09-12 13:13:22 +00:00
fs Major update to the way synchronization is done in the kernel. Highlights 2000-09-07 01:33:02 +00:00
geom Avoid the modules madness I inadvertently introduced by making the 2000-09-02 19:17:34 +00:00
gnu Fixed some serious bugs in ext2_readdir(): 2000-09-12 17:10:39 +00:00
i4b Avoid the modules madness I inadvertently introduced by making the 2000-09-02 19:17:34 +00:00
i386 Don't panic for delivery of a multiplexed SWI. Most SWI handlers 2000-09-12 16:02:43 +00:00
isa Add a nasty hack to get remote kernel gdb working from ddb. ddb would 2000-09-11 04:33:36 +00:00
isofs/cd9660 Major update to the way synchronization is done in the kernel. Highlights 2000-09-07 01:33:02 +00:00
kern Add three new VOPs: VOP_CREATEVOBJECT, VOP_DESTROYVOBJECT and VOP_GETVOBJECT. 2000-09-12 09:49:08 +00:00
libkern Back out previous revision now that sys/random.h is properly fixed. 2000-09-11 19:34:04 +00:00
miscfs Fix a 64-bitism, use size_t instead of u_int for 4th arg to copyinstr. 2000-09-11 05:45:06 +00:00
modules Update to build both bktr and bktr_mem modules 2000-09-10 15:40:20 +00:00
msdosfs o Restructure vaccess() so as to check for DAC permission to modify the 2000-08-29 14:45:49 +00:00
net Major update to the way synchronization is done in the kernel. Highlights 2000-09-07 01:33:02 +00:00
netatalk Just need to pass the address family to if_simloop(), not the whole sockaddr. 2000-05-24 21:16:56 +00:00
netatm Just need to pass the address family to if_simloop(), not the whole sockaddr. 2000-05-24 21:16:56 +00:00
netgraph Major update to the way synchronization is done in the kernel. Highlights 2000-09-07 01:33:02 +00:00
netinet Fix screwup in previous commit. 2000-09-12 02:38:05 +00:00
netinet6 add attrbute(packed) to union def with specific align constraitn. 2000-09-09 15:56:46 +00:00
netipx Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
netkey make sure we have IV that is random enough. memory allocator on 2000-08-28 08:24:46 +00:00
netnatm Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
netncp Previous commit changing SYSCTL_HANDLER_ARGS violated KNF. 2000-07-04 11:25:35 +00:00
netns Clean up some loose ends in the network code, including the X.25 and ISO 2000-02-13 03:32:07 +00:00
nfs Major update to the way synchronization is done in the kernel. Highlights 2000-09-07 01:33:02 +00:00
nfsclient Don't scan for the "right" network interface by shooting in the dark. 2000-09-05 22:29:36 +00:00
nfsserver Major update to the way synchronization is done in the kernel. Highlights 2000-09-07 01:33:02 +00:00
ntfs o Restructure vaccess() so as to check for DAC permission to modify the 2000-08-29 14:45:49 +00:00
nwfs Previous commit changing SYSCTL_HANDLER_ARGS violated KNF. 2000-07-04 11:25:35 +00:00
pc98 Add the ability to define a "shutdown" and "shutdown and poweroff" key 2000-09-11 20:37:42 +00:00
pccard Add a detach method to allow this device to be unloaded. 2000-08-30 06:57:38 +00:00
pci Per msmith's request, don't attach to Qlogic 12160 id'd cards that have 2000-09-07 20:27:40 +00:00
posix4 Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
powerpc The alpha doesn't have a eflags register, so don't refer to it here. 2000-09-11 06:42:50 +00:00
rpc
sys The "struct proc" argument to read_random was ill-conceived, and a 2000-09-12 13:13:22 +00:00
tools remove crufty exec stuff, perl is in the base system 2000-06-27 19:09:55 +00:00
ufs Add VOP_*VOBJECT vops, because MFS requires explicit vop specification. 2000-09-12 16:21:16 +00:00
vm Add three new VOPs: VOP_CREATEVOBJECT, VOP_DESTROYVOBJECT and VOP_GETVOBJECT. 2000-09-12 09:49:08 +00:00
Makefile I should know better than to touch this without testing a 'make release' 2000-08-24 18:53:09 +00:00