freebsd-skq/sys
kib 496b70bc6a Save previous content of the td_fpop before storing the current
filedescriptor into it. Make sure that td_fpop is NULL when calling
d_mmap from dev_pager_getpages().

Change guards against td_fpop field being non-NULL with private state
for another device, and against sudden clearing the td_fpop. This
could occur when either a driver method calls another driver through
the filedescriptor operation, or a page fault happen while driver is
writing to a memory backed by another driver.

Noted by:	rwatson
Tested by:	rnoland
MFC after:	3 days
2008-09-26 14:50:49 +00:00
..
amd64 Change the static struct sysentvec and struct Elf_Brandinfo initializers 2008-09-24 10:14:37 +00:00
arm Change the static struct sysentvec and struct Elf_Brandinfo initializers 2008-09-24 10:14:37 +00:00
boot Backout rev 183181. It appears that I should have been using boot-device 2008-09-19 19:49:58 +00:00
bsm When MPSAFE ttys were merged, a new BSM audit event identifier was 2008-08-24 21:20:35 +00:00
cam Remove unit2minor() use from kernel code. 2008-09-26 14:19:52 +00:00
cddl Remove unit2minor() use from kernel code. 2008-09-26 14:19:52 +00:00
compat Add support for installing 32-bit system calls from kernel modules. This 2008-09-25 20:50:21 +00:00
conf The kernel implemented 'memcmp' is an alias for 'bcmp'. However, memcmp 2008-09-23 14:45:10 +00:00
contrib Merge ath again (addition of wisoc files). 2008-09-05 22:24:31 +00:00
crypto Simplify session selection/allocation. 2008-08-09 20:01:01 +00:00
ddb Initialize the DDB command list when initializing DDB so that the basic 2008-09-25 19:50:14 +00:00
dev Remove unit2minor() use from kernel code. 2008-09-26 14:19:52 +00:00
fs Save previous content of the td_fpop before storing the current 2008-09-26 14:50:49 +00:00
gdb Commit SYSINIT() ;-adding patch missed in previous pass. 2008-03-16 13:02:04 +00:00
geom Remove unit2minor() use from kernel code. 2008-09-26 14:19:52 +00:00
gnu fdescfs, devfs, mqueuefs, nfs, portalfs, pseudofs, tmpfs and xfs 2008-09-20 19:50:52 +00:00
i386 Remove unit2minor() use from kernel code. 2008-09-26 14:19:52 +00:00
ia64 Change the static struct sysentvec and struct Elf_Brandinfo initializers 2008-09-24 10:14:37 +00:00
isa MFp4 (my newcard tree): 2008-08-24 07:40:14 +00:00
kern Rename the minor' argument of make_dev(9) to unit'. 2008-09-26 14:31:24 +00:00
libkern The kernel implemented 'memcmp' is an alias for 'bcmp'. However, memcmp 2008-09-23 14:45:10 +00:00
mips Remove reference to machine/tlb.h. It no longer exists, and isn't 2008-09-26 04:45:56 +00:00
modules - Remove default NIC dependency on ulp headers 2008-09-24 01:19:08 +00:00
net Remove unit2minor() use from kernel code. 2008-09-26 14:19:52 +00:00
net80211 must do a deep copy of mcast packets as they can be modified after dispatch 2008-09-25 20:25:25 +00:00
netatalk Remove NETISR_MPSAFE, which allows specific netisr handlers to be directly 2008-07-04 00:21:38 +00:00
netgraph Remove unit2minor() use from kernel code. 2008-09-26 14:19:52 +00:00
netinet As a follow-on to r183323, correct another case where ip_output() was 2008-09-25 17:26:54 +00:00
netinet6 When invoking the udp_send() from udp6_send() due to use of a v6-mapped 2008-09-22 06:44:03 +00:00
netipsec Commit step 1 of the vimage project, (network stack) 2008-08-17 23:27:27 +00:00
netipx Remove the suser(9) interface from the kernel. It has been replaced from 2008-09-17 15:49:44 +00:00
netnatm Remove NETISR_MPSAFE, which allows specific netisr handlers to be directly 2008-07-04 00:21:38 +00:00
netncp lockmgrs need to be released before to be destroyed and draining doesn't 2008-03-30 18:16:33 +00:00
netsmb Remove unit2minor() use from kernel code. 2008-09-26 14:19:52 +00:00
nfs Replaced the misleading uses of a historical artefact M_TRYWAIT with M_WAIT. 2008-03-25 09:39:02 +00:00
nfs4client Decontextualize the couplet VOP_GETATTR / VOP_SETATTR as the passed thread 2008-08-28 15:23:18 +00:00
nfsclient Part 1 of making shared lookups more resilient with respect to forced 2008-09-24 18:51:33 +00:00
nfsserver Remove the suser(9) interface from the kernel. It has been replaced from 2008-09-17 15:49:44 +00:00
nlm Rename RPC's 'struct pmap' to 'struct portmap' to avoid confusing it with 2008-08-25 09:36:17 +00:00
opencrypto Make ftruncate a 'struct file' operation rather than a vnode operation. 2008-01-07 20:05:19 +00:00
pc98 Resurrect the sbni(4) driver. Someone finally tested the MPSAFE patches and 2008-09-10 18:36:58 +00:00
pccard
pci Move wb driver from sys/pci to sys/dev/wb. 2008-08-14 21:26:29 +00:00
powerpc Change the static struct sysentvec and struct Elf_Brandinfo initializers 2008-09-24 10:14:37 +00:00
rpc Rename RPC's 'struct pmap' to 'struct portmap' to avoid confusing it with 2008-08-25 09:36:17 +00:00
security Remove unit2minor() use from kernel code. 2008-09-26 14:19:52 +00:00
sparc64 Change the static struct sysentvec and struct Elf_Brandinfo initializers 2008-09-24 10:14:37 +00:00
sun4v Work around Cheetah+ erratum 34 (USIII+ erratum #10) by relocating 2008-09-10 20:07:08 +00:00
sys Rename the minor' argument of make_dev(9) to unit'. 2008-09-26 14:31:24 +00:00
tools Introduce a standalone shell script for embedding MFS image. 2008-02-05 10:46:30 +00:00
ufs Enable shared lookups on UFS. There are some remaining issues with forced 2008-09-24 18:53:04 +00:00
vm Save previous content of the td_fpop before storing the current 2008-09-26 14:50:49 +00:00
xdr Add the new kernel-mode NFS Lock Manager. To use it instead of the 2008-03-26 15:23:12 +00:00
xen move ipi_pcpu to evtchn.c 2008-09-26 05:54:24 +00:00
Makefile Improve the glimpse target: don't index .svn and compile directories. 2008-08-15 14:11:30 +00:00