freebsd-skq/sys
bde fee8e1a16f Fixed breakage of mknod() in rev.1.48 of ext2_vnops.c and rev.1.126 of
ufs_vnops.c:

1) i_ino was confused with i_number, so the inode number passed to
   VFS_VGET() was usually wrong (usually 0U).
2) ip was dereferenced after vgone() freed it, so the inode number
   passed to VFS_VGET() was sometimes not even wrong.

Bug (1) was usually fatal in ext2_mknod(), since ext2fs doesn't have
space for inode 0 on the disk; ino_to_fsba() subtracts 1 from the
inode number, so inode number 0U gives a way out of bounds array
index.  Bug(1) was usually harmless in ufs_mknod(); ino_to_fsba()
doesn't subtract 1, and VFS_VGET() reads suitable garbage (all 0's?)
from the disk for the invalid inode number 0U; ufs_mknod() returns
a wrong vnode, but most callers just vput() it; the correct vnode is
eventually obtained by an implicit VFS_VGET() just like it used to be.

Bug (2) usually doesn't happen.
2000-11-04 08:10:56 +00:00
..
alpha Fix generated include path. 2000-11-04 07:21:37 +00:00
amd64 Improve the PCI interrupt routing code. Now the process is as follows: 2000-11-02 00:37:45 +00:00
boot The Number of Fixed Disks at memory location 0x475 is only 1 byte, not a 2000-11-02 23:28:12 +00:00
cam Fix a problem with the previous revision (1.42) that showed up with audio 2000-11-04 02:05:25 +00:00
coda Give vop_mmap an untimely death. The opportunity to give it a timely 2000-11-01 17:57:24 +00:00
compat zap a stray include that snuck in with rev 1.56 2000-11-02 18:51:32 +00:00
compile
conf switch over to new sb8/sb16 code 2000-11-01 00:53:16 +00:00
contrib Fix conflicts creted by import. 2000-10-29 07:53:05 +00:00
crypto This commit was generated by cvs2svn to compensate for changes in r67957, 2000-10-30 11:03:32 +00:00
ddb Previous commit changing SYSCTL_HANDLER_ARGS violated KNF. 2000-07-04 11:25:35 +00:00
dev Fix breakage on some ATA chips that dont have busmastering set. 2000-11-03 17:09:34 +00:00
fs v_interlock is a mutex now, not simple lock. 2000-11-04 02:42:11 +00:00
geom Avoid the modules madness I inadvertently introduced by making the 2000-09-02 19:17:34 +00:00
gnu Fixed breakage of mknod() in rev.1.48 of ext2_vnops.c and rev.1.126 of 2000-11-04 08:10:56 +00:00
i4b Remove unused #include statements 2000-10-30 14:49:26 +00:00
i386 Improve the PCI interrupt routing code. Now the process is as follows: 2000-11-02 00:37:45 +00:00
ia64 Convert all users of fldoff() to offsetof(). fldoff() is bad 2000-10-27 11:45:49 +00:00
isa Revert two experimental changes which escaped from my devel machine. 2000-10-28 06:55:12 +00:00
isofs/cd9660 Weaken a bogus dependency on <sys/proc.h> in <sys/buf.h> by #ifdef'ing 2000-10-29 14:54:55 +00:00
kern Setup and put to use the mutex lock for sf_freelist, the sendfile(2) bufs 2000-11-04 07:16:08 +00:00
libkern Fix compilation of profiled kernels by including <machine/lock.h> 2000-10-14 08:34:27 +00:00
miscfs Take VBLK devices further out of their missery. 2000-11-02 21:14:13 +00:00
modules Now have the `linux' module on the Alpha too. 2000-11-04 07:31:46 +00:00
msdosfs Weaken a bogus dependency on <sys/proc.h> in <sys/buf.h> by #ifdef'ing 2000-10-29 14:54:55 +00:00
net Fix an order of operations buglet. ! has higher precedence than &. This 2000-11-03 00:51:41 +00:00
netatalk Move suser() and suser_xxx() prototypes and a related #define from 2000-10-29 16:06:56 +00:00
netatm Add back some #include <sys/systm.h> which were needed when <sys/ktr.h> 2000-10-30 20:37:01 +00:00
netgraph Swap the order of two tags in the pppoe PADI and PADS packets 2000-10-31 14:40:23 +00:00
netinet Fixed the bug I have introduced in icmp_error() in revision 1.44. 2000-11-02 09:46:23 +00:00
netinet6 check whether the packet is tunnel mode. reported from <larse@ISI.EDU> 2000-11-03 06:10:56 +00:00
netipx Move suser() and suser_xxx() prototypes and a related #define from 2000-10-29 16:06:56 +00:00
netkey Revert previous commit after discussion with phk. 2000-10-30 09:13:46 +00:00
netnatm Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
netncp Make malloc use M_ZERO in some more locations. 2000-10-29 16:14:28 +00:00
netns
nfs Give vop_mmap an untimely death. The opportunity to give it a timely 2000-11-01 17:57:24 +00:00
nfsclient Give vop_mmap an untimely death. The opportunity to give it a timely 2000-11-01 17:57:24 +00:00
nfsserver Remove unneeded #include <sys/proc.h> lines. 2000-10-29 13:57:19 +00:00
ntfs Give vop_mmap an untimely death. The opportunity to give it a timely 2000-11-01 17:57:24 +00:00
nwfs v_interlock is a mutex now, not simple lock. 2000-11-04 02:42:11 +00:00
pc98 Move suser() and suser_xxx() prototypes and a related #define from 2000-10-29 16:06:56 +00:00
pccard fix type check in pccard_beep_select 2000-11-01 00:37:34 +00:00
pci Create a pcn_setfilt() routine that twiddles the promiscuous mode 2000-11-03 00:37:45 +00:00
posix4 Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
powerpc - Overhaul the software interrupt code to use interrupt threads for each 2000-10-25 05:19:40 +00:00
rpc
sys Use do { ... } while (0) to wrap the body of mtx_assert(). 2000-10-31 17:20:55 +00:00
tools remove crufty exec stuff, perl is in the base system 2000-06-27 19:09:55 +00:00
ufs Fixed breakage of mknod() in rev.1.48 of ext2_vnops.c and rev.1.126 of 2000-11-04 08:10:56 +00:00
vm Clear the MAP_ENTRY_USER_WIRED flag from cloned vm_map entries. 2000-11-02 21:38:18 +00:00
Makefile I should know better than to touch this without testing a 'make release' 2000-08-24 18:53:09 +00:00