freebsd-dev/sys/cddl
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
..
boot/zfs Unexpand $FreeBSD$. 2009-05-23 16:01:58 +00:00
compat/opensolaris O_NOFOLLOW shall be in flags, not in cmode. 2009-06-22 10:08:48 +00:00
contrib/opensolaris Add another flags argument to vn_open_cred. Use it to specify that some 2009-06-21 13:41:32 +00:00
dev dtrace/amd64: fix virtual address checks 2009-06-24 16:03:57 +00:00