freebsd-dev/sys
Andriy Gapon f340e9fe71 dtrace/amd64: fix virtual address checks
On amd64 KERNBASE/kernbase does not mean start of kernel memory.
This should fix a KASSERT panic in dtrace_copycheck when copyin*()
is used in D program.
Also make checks for user memory a bit stricter.

Reported by:	Thomas Backman <serenity@exscape.org>
Submitted by:	wxs (kaddr part)
Tested by:	Thomas Backman (prototype), wxs
Reviewed by:	alc (concept), jhb, current@
Aprroved by:	jb (concept)
MFC after:	2 weeks
PR:		kern/134408
2009-06-24 16:03:57 +00:00
..
amd64 Make algorithm a bit more bulletproof. 2009-06-23 23:16:37 +00:00
arm Introduce ata(4) support for Marvell integrated SATA controllers (found on 2009-06-24 15:41:18 +00:00
boot Bump PowerPC loader(8) version to reflect extensions it has recently grown. 2009-06-22 15:57:12 +00:00
bsm
cam Change cam_periph_ioctl() to take 'cmd' and a u_long instead of an 2009-06-22 14:43:48 +00:00
cddl dtrace/amd64: fix virtual address checks 2009-06-24 16:03:57 +00:00
compat Add a new COMPAT7 flag for FreeBSD 7.x compatibility system calls. 2009-06-24 13:36:37 +00:00
conf Move non-PCI prototypes from ata-pci.h -> ata-all.h. 2009-06-24 15:38:17 +00:00
contrib Use proper form of gnu designated initalizers. This lets 2009-06-24 12:01:10 +00:00
crypto
ddb
dev Move non-PCI prototypes from ata-pci.h -> ata-all.h. 2009-06-24 15:38:17 +00:00
fs Implement global and per-uid accounting of the anonymous memory. Add 2009-06-23 20:45:22 +00:00
gdb
geom Do not stop the loop when an empty or deleted directory entry is found. 2009-06-24 06:42:13 +00:00
gnu Do not use casts (int *)0 and (struct thread *)0 for the arguments of 2009-06-16 15:13:45 +00:00
i386 Make algorithm a bit more bulletproof. 2009-06-23 23:16:37 +00:00
ia64 Implement a facility for dynamic per-cpu variables. 2009-06-23 22:42:39 +00:00
isa
kern Fix a race in vi_if_move, where a vnet is used after the prison that 2009-06-24 15:29:36 +00:00
kgssapi When the KOBJMETHOD() macro was updated, it resulted in the 2009-06-14 17:33:46 +00:00
libkern done method is supposed to return int. 2009-06-22 22:09:18 +00:00
mips Implement a facility for dynamic per-cpu variables. 2009-06-23 22:42:39 +00:00
modules - Initialize the ifnet structure, especially if_dname, before probing 2009-06-23 20:36:59 +00:00
net In if_setlladdr(), use IF_ADDR_LOCK() and ifaddr references to improve 2009-06-24 10:36:48 +00:00
net80211 Modify most routines returning 'struct ifaddr *' to return references 2009-06-23 20:19:09 +00:00
netatalk Printf fewer warnings when adding a route to an atalk address fails; 2009-06-24 10:46:03 +00:00
netgraph Use proper form of gnu designated initalizers. This lets 2009-06-24 12:01:10 +00:00
netinet Add missing unlock of if_addr_mtx when an unmatched ARP packet is received. 2009-06-24 14:49:26 +00:00
netinet6 Make callers to in6_selectsrc() and in6_pcbladdr() pass in memory 2009-06-23 22:08:55 +00:00
netipsec Move setting of ports from NAT-T below key_getsah() and actually 2009-06-19 21:01:55 +00:00
netipx Modify most routines returning 'struct ifaddr *' to return references 2009-06-23 20:19:09 +00:00
netnatm
netncp
netsmb
nfs
nfsclient After cleaning up rt_tables from vnet.h and cleaning up opt_route.h 2009-06-23 17:03:45 +00:00
nfsserver Rework the credential code to support larger values of NGROUPS and 2009-06-19 17:10:35 +00:00
nlm Since svc_[dg|vc|tli|tp]_create() did not hold a reference count on the 2009-06-17 22:50:26 +00:00
opencrypto
pc98 Implement a facility for dynamic per-cpu variables. 2009-06-23 22:42:39 +00:00
pci
powerpc More precise description of the DS1553 driver. 2009-06-24 15:48:20 +00:00
rpc Delete the declaration of an unused variable so that it will build. 2009-06-20 17:16:29 +00:00
security Implement global and per-uid accounting of the anonymous memory. Add 2009-06-23 20:45:22 +00:00
sparc64 Implement a facility for dynamic per-cpu variables. 2009-06-23 22:42:39 +00:00
sun4v Implement a facility for dynamic per-cpu variables. 2009-06-23 22:42:39 +00:00
sys Clean up struct prison, with the recent fields in more logical places, 2009-06-24 15:32:57 +00:00
tools - Add a way to change filter oversampling factor through 2009-06-15 04:31:34 +00:00
ufs Rework the credential code to support larger values of NGROUPS and 2009-06-19 17:10:35 +00:00
vm Initialize the uip to silence gcc warning that seems to sneak in in some 2009-06-24 09:26:33 +00:00
xdr
xen
Makefile