freebsd-nq/sys
Alan Cox 8e0e1e2239 Correct a very old and very obscure bug: vmspace_fork() calls
pmap_copy() if the mapping is VM_INHERIT_SHARE.  Suppose the mapping
is also wired.  vmspace_fork() clears the wiring attributes in the vm
map entry but pmap_copy() copies the PG_W attribute in the PTE.  I
don't think this is catastrophic.  It blocks pmap_remove_pages() from
destroying the mapping and corrupts the pmap's wiring count.

This revision fixes the problem by changing pmap_copy() to clear the
PG_W attribute.

Reviewed by: tegge@
2006-06-27 04:28:23 +00:00
..
amd64 Correct a very old and very obscure bug: vmspace_fork() calls 2006-06-27 04:28:23 +00:00
arm Backout previous commit, Warner committed at91_pio.c... 2006-06-23 23:07:11 +00:00
boot Don't descend into ${MACHINE} on the arm platforms. 2006-06-18 17:44:40 +00:00
bsm Merge OpenBSM 1.0 alpha 6 version of audit_record.h to src/sys: 2006-06-05 13:00:52 +00:00
cam Grumble. VMWare ESX and VMWare WorkStation have *slightly* different 2006-06-26 05:41:11 +00:00
coda Since DELAY() was moved, most <machine/clock.h> #includes have been 2006-05-16 14:37:58 +00:00
compat Regen. 2006-06-26 18:37:36 +00:00
conf Add a pure open source nForce Ethernet driver, under BSDL. 2006-06-26 23:41:07 +00:00
contrib Fix pfsync w/o carp compilation. 2006-06-16 10:25:06 +00:00
crypto Fix gratuitous compiler warning. 2006-06-08 17:40:02 +00:00
ddb Never zero-out db_last_symtab. Whan backtraces are done 2006-06-16 16:17:52 +00:00
dev Add a pure open source nForce Ethernet driver, under BSDL. 2006-06-26 23:41:07 +00:00
doc Add a disclaimer regarding public/internal functions to every subsystem for 2006-05-28 15:25:18 +00:00
fs Fix a memory leak and a nested 'for' loop in the spare table handling. 2006-06-26 03:21:19 +00:00
gdb Convert to new console api 2006-05-26 13:54:27 +00:00
geom Improve check for protective MBR. Instead of assiming that protective 2006-06-26 00:32:54 +00:00
gnu Implement vnode operations for setting and removing extended attributes. 2006-06-11 03:32:50 +00:00
i4b Since DELAY() was moved, most <machine/clock.h> #includes have been 2006-05-16 14:37:58 +00:00
i386 Correct a very old and very obscure bug: vmspace_fork() calls 2006-06-27 04:28:23 +00:00
ia64 Backed out the change by request from rwatson. 2006-06-26 22:03:22 +00:00
isa Make the ISAPNP code optional and only enable it on i386 and pc98 (used 2006-06-12 21:07:13 +00:00
isofs/cd9660 Remove calls to vfs_export() for exporting a filesystem for NFS mounting 2006-05-26 00:32:21 +00:00
kern Backed out the change by request from rwatson. 2006-06-26 22:03:22 +00:00
libkern First pass at removing Alpha kernel support. 2006-05-11 22:25:28 +00:00
modules Add a pure open source nForce Ethernet driver, under BSDL. 2006-06-26 23:41:07 +00:00
net Simplify ipsec_bpf by using bpf_mtap2(). 2006-06-27 01:53:12 +00:00
net80211 remove duplicate ifname in debug msg 2006-06-24 18:00:17 +00:00
netatalk Update global copyright statement for netatalk, as I claim copyright 2006-06-08 22:13:52 +00:00
netatm Chance protocol switch method pru_detach() so that it returns void 2006-04-01 15:42:02 +00:00
netgraph Use kern_kldload() and kern_kldunload() to load and unload modules when 2006-06-13 21:36:23 +00:00
netinet In syncache_respond() do not reply with a MSS that is larger than what 2006-06-26 17:54:53 +00:00
netinet6 Use suser_cred() instead of a direct comparison of cr_uid with 0 in 2006-06-25 13:54:59 +00:00
netipsec Add a pseudo interface for packet filtering IPSec connections before or after 2006-06-26 22:30:08 +00:00
netipx Make this compile without INVARIANTS. 2006-04-11 23:15:47 +00:00
netkey In raw and raw-derived socket types, maintain and enforce invariant that 2006-04-01 15:55:44 +00:00
netnatm style(9) treatment following fixups. 2006-04-23 16:33:56 +00:00
netncp
netsmb Retire NETSMBCRYPTO as a kernel option and make its functionality 2006-03-05 22:52:17 +00:00
nfs
nfs4client While reviewing NFS client for another PR, noticed this omission in the 2006-05-24 15:56:36 +00:00
nfsclient Kris Kennaway found that for '/' NFS mounts, the MPSAFE mount flag was 2006-05-30 20:32:44 +00:00
nfsserver Size the NFS server dupreq cache on the basis of nmbclusters. On servers 2006-06-23 00:42:26 +00:00
opencrypto When DIAGNOSTIC is defined, verify if we don't free crypto requests from 2006-06-06 15:04:52 +00:00
pc98 Backed out the change by request from rwatson. 2006-06-26 22:03:22 +00:00
pccard
pci Add support for the RealTek 8169SC/8110SC and RTL8101E devices. The 2006-06-26 20:31:32 +00:00
posix4 Add scheduler API sched_relinquish(), the API is used to implement 2006-06-15 06:37:39 +00:00
powerpc Backed out the change by request from rwatson. 2006-06-26 22:03:22 +00:00
rpc
security Make the size of the subject32_ex and process32_ex tokens depend on 2006-06-17 13:53:04 +00:00
sparc64 Backed out the change by request from rwatson. 2006-06-26 22:03:22 +00:00
sys Fix the name of the data set item for the SYSUNINIT in RW_SYSINIT to use 2006-06-23 19:36:50 +00:00
tools Check for errors when registering and unregistering firmware modules. This 2006-06-16 21:06:03 +00:00
ufs Check the sectorsize of the underlying disk before trying to 2006-06-03 21:20:37 +00:00
vm Move the code to handle the vm.blacklist tunable up a layer into 2006-06-23 16:44:24 +00:00
Makefile o Add net80211/ to cscope dir list. 2006-05-29 19:29:41 +00:00