freebsd-skq/sys/i386
bde dff980d98b Don't permit generation of non-physical disk addresses.
subr_diskmbr.c:
Don't "helpfully" enlarge our idea of the disk size to cover all the
primary slices.  Instead, truncate or discard slices that don't seem
to be on the disk.  The enlargement was a hack for disks that don't
report their size (e.g., MFM disks).  It is just wrong in general.

wd.c:
In CHS mode, limit the disk size so that cylinder numbers >= 65536
cannot occur.  This normally only affects disks larger than 33.8GB.
CHS mode accesses to addresses above the limit are now properly broken
(an error is returned instead of garbage for reads and disk corruption
for writes).

PR:		15611
Reviewed by:	readers of freebsd-bugs did not respond to a request
            	for review
2000-01-28 10:22:07 +00:00
..
apm Remove code to select APM version with flags to the apm0 device. This 1999-12-02 03:13:11 +00:00
bios Correctly test CF. 2000-01-13 08:49:47 +00:00
boot Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
conf Mitigate the stream.c attacks 2000-01-28 06:13:09 +00:00
i386 Correctly initialise the available IRQ numbers in the APIC_IO case. 2000-01-26 01:32:51 +00:00
ibcs2 Introduce NDFREE (and remove VOP_ABORTOP) 1999-12-15 23:02:35 +00:00
include Fixed the profiling version ALTENTRY(). Again. The previous version 2000-01-25 09:01:55 +00:00
isa Don't permit generation of non-physical disk addresses. 2000-01-28 10:22:07 +00:00
linux Update syscalls to Linux kernel 2.3.38. These syscalls are 2000-01-10 22:19:06 +00:00
pci Clean up the cfgmech/pci_mechanism debris. The reason for the existance 2000-01-08 08:31:24 +00:00
svr4 Pre-freeze cleanups: Conditionalize debugging writes on DEBUG_SVR4, 2000-01-15 15:29:37 +00:00
Makefile Add soft updates to the set of things being tagged. Syntax cleanup. 2000-01-27 01:22:06 +00:00