freebsd-src/sys
David Greenman 5f55e84104 Accessing pages beyond the end of a mapped file results in internal
inconsistencies in the VM system that eventually lead to a panic. These
changes fix the behavior to conform to the behavior in SunOS, which is
to deny faults to pages beyond the EOF (returning SIGBUS). Internally,
this is implemented by requiring faults to be within the object size
boundaries. These changes exposed another bug, namely that passing in
an offset to mmap when trying to map an unnamed anonymous region also
results in internal inconsistencies. In this case, the offset is forced
to zero.

Reviewed by:	John Dyson and others
1995-05-18 02:59:26 +00:00
..
alpha/include Third round in syscons update. 1995-01-28 22:18:05 +00:00
amd64 Added apersand constraint to make sure that the source and destination 1995-05-14 22:25:11 +00:00
compile Stop cvs up -P from removing empty compile directories. 1994-08-25 16:20:16 +00:00
conf Changed swap partition handling/allocation so that it doesn't 1995-05-14 03:00:10 +00:00
ddb Fixed the formatting breakage I added in the previous commit. 1995-04-04 01:35:33 +00:00
dev Changed read_csr and write_csr to static so that they don't clash 1995-05-17 13:15:35 +00:00
fs Fix -Wformat warnings from LINT kernel. 1995-05-11 19:26:53 +00:00
gnu Fix -Wformat warnings from LINT kernel. 1995-05-11 19:26:53 +00:00
i386 Changed read_csr and write_csr to static so that they don't clash 1995-05-17 13:15:35 +00:00
isa Fix -Wformat warnings from LINT kernel. 1995-05-11 19:26:53 +00:00
isofs/cd9660 Readdir on a CDrom would return bogus "d_type" values, potentially confusing 1995-03-28 07:46:38 +00:00
kern Fixed incompleteness that would allow dirty filesystems to get mounted 1995-05-15 08:39:37 +00:00
libkern Do not install libkern into /usr/lib, blank target install: added. 1995-03-23 07:02:14 +00:00
miscfs Fix -Wformat warnings from LINT kernel. 1995-05-11 19:26:53 +00:00
modules Changed relase number in snake_saver.c from 2.1 to 2.0.5 1995-05-16 19:10:11 +00:00
msdosfs Submitted by: Mike Pritchard <pritc003@maroon.tc.umn.edu> 1995-05-09 16:30:45 +00:00
net Fixed route reference count bug that squirmed in during the the 1995-05-15 22:57:53 +00:00
netccitt Fix -Wformat warnings from LINT kernel. 1995-05-11 19:26:53 +00:00
netinet These diffs modify the behaviour of multicast clients to conform with the 1995-05-16 01:28:29 +00:00
netiso Make networking domains drop-ins, through the magic of GNU ld. (Some day, 1995-05-11 00:13:26 +00:00
netns Make networking domains drop-ins, through the magic of GNU ld. (Some day, 1995-05-11 00:13:26 +00:00
nfs Changed swap partition handling/allocation so that it doesn't 1995-05-14 03:00:10 +00:00
nfsclient Changed swap partition handling/allocation so that it doesn't 1995-05-14 03:00:10 +00:00
nfsserver Slight re-ordering of the creation of a vmio object to fix a condition 1995-04-21 02:58:49 +00:00
pci Fixed mbuf leak and panic that occurred when packets got too memory 1995-05-05 20:09:51 +00:00
powerpc/include Don't define CLK_TCK here. 1995-02-03 21:49:18 +00:00
rpc Use the header files that are compatible with the code just moved over 1994-08-07 18:41:02 +00:00
scsi Fix -Wformat warnings from LINT kernel. 1995-05-11 19:26:53 +00:00
sys Changes to support the "new" bad144. Adds a "BADSCAN" ioctl and support. 1995-05-16 07:52:17 +00:00
tools Added $Id$ 1994-08-02 07:55:43 +00:00
ufs Fixed incompleteness that would allow dirty filesystems to get mounted 1995-05-15 08:39:37 +00:00
vm Accessing pages beyond the end of a mapped file results in internal 1995-05-18 02:59:26 +00:00
Makefile Added ${MACHINE}/boot to build bootblocks. 1994-08-25 13:54:28 +00:00