freebsd-nq/sys
Alan Cox 4da4d293df In cases where a file was resident in memory mmap(..., PROT_NONE, ...)
would actually map the file with read access enabled.  According to
http://www.opengroup.org/onlinepubs/007904975/functions/mmap.html this is
an error.  Similarly, an madvise(..., MADV_WILLNEED) would enable read
access on a virtual address range that was PROT_NONE.

The solution implemented herein is (1) to pass a vm_prot_t to
vm_map_pmap_enter() describing the allowed access and (2) to make
vm_map_pmap_enter() responsible for understanding the limitations of
pmap_enter_quick().

Submitted by:	"Mark W. Krentel" <krentel@dreamscape.com>
PR:		kern/64573
2004-04-24 03:46:44 +00:00
..
alpha MFamd64 2004-04-18 06:24:51 +00:00
amd64 Don't check for NULL, device_get_softc() always succeeds. 2004-04-21 02:10:58 +00:00
arm Remove advertising clause from University of California Regent's license, 2004-04-05 21:29:41 +00:00
boot Fix a last second typo in 'vi' that caused a problem. 2004-04-20 13:34:18 +00:00
cam The opt_da.h file doesn't exist anymore since the DA_OLD_QUIRKS option 2004-04-19 13:38:10 +00:00
coda
compat Ok, _really_ fix the Intel 2100B Centrino deadlock problems this time. 2004-04-22 07:08:39 +00:00
conf Make sure Bluetooth stuff can be statically compiled into kernel 2004-04-23 19:48:43 +00:00
contrib Remove warnings from vendor files. This takes some files off the vendor 2004-04-14 18:12:29 +00:00
crypto
ddb Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
dev Clean up two printf()s that were on a line by themselves unintendedly 2004-04-23 19:43:35 +00:00
fs Do not drop Giant around the poll method yet, we're not ready for it. 2004-04-12 21:52:52 +00:00
geom - Don't check if 'gp' is non-NULL, it always is and GEOM wants to 2004-04-20 17:07:55 +00:00
gnu Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
i4b
i386 Enable the led-toggling magic. Compiling files which are in the kernel into 2004-04-23 17:41:05 +00:00
ia64 Don't check for NULL, device_get_softc() always succeeds. 2004-04-21 02:10:58 +00:00
isa Don't check for device_get_softc() returning NULL, it can't happen. 2004-04-17 10:25:04 +00:00
isofs/cd9660 Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
kern Utilize sf_buf_alloc() rather than pmap_qenter() (and sometimes 2004-04-23 03:01:40 +00:00
libkern Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
modules Enable the led-toggling magic. Compiling files which are in the kernel into 2004-04-23 17:41:05 +00:00
net Add the comment of the previous commit to the source file directly. 2004-04-23 16:57:43 +00:00
net80211 Resolve the issue of whether frames have FCS or not. Frame data does not 2004-04-05 22:13:21 +00:00
netatalk Lock down the netatalk AARP code, which is responsible for appletalk 2004-04-09 01:40:12 +00:00
netatm
netgraph Make sure RFCOMM multiplexor channel does not hang in DISCONNECTING 2004-04-23 20:21:17 +00:00
netinet Wrap two long lines in the previous commit. 2004-04-23 23:29:49 +00:00
netinet6 ifp has the same value as rt->rti_ifp so remove the dependency 2004-04-19 08:02:52 +00:00
netipsec Fix a debugging printf snafu. 2004-04-20 14:53:35 +00:00
netipx
netkey
netnatm
netncp
netsmb
nfs Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
nfs4client Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
nfsclient Let the NFS client notice a file's size changing as a modification. 2004-04-14 23:23:55 +00:00
nfsserver Don't send the available space as is in the FSSTAT call. Under 2004-04-12 13:02:21 +00:00
opencrypto
pc98 sx was randomly added to NOTES. Instead, place it in the misc 2004-04-14 02:25:31 +00:00
pccard
pci Add support for the AMD 8111. 2004-04-20 13:36:44 +00:00
posix4
powerpc - Catch up with recent ATA changes. 2004-04-23 23:39:53 +00:00
rpc Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
security
sparc64 Remove avail_end. It is not used. 2004-04-11 06:02:24 +00:00
sys Utilize sf_buf_alloc() rather than pmap_qenter() (and sometimes 2004-04-23 03:01:40 +00:00
tools Correct $FreeBSD$ style. 2004-04-16 05:22:11 +00:00
ufs Record where half the bits in this file came from (from ufs_readwrite.c). 2004-04-07 11:21:18 +00:00
vm In cases where a file was resident in memory mmap(..., PROT_NONE, ...) 2004-04-24 03:46:44 +00:00
Makefile