]> CyberLeo.Net >> Repos - FreeBSD/releng/9.0.git/commit
MFC r227290 and r227291:
authorrstone <rstone@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 24 Nov 2011 18:44:14 +0000 (18:44 +0000)
committerrstone <rstone@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 24 Nov 2011 18:44:14 +0000 (18:44 +0000)
commitd5dc20f69049c0b8e76df2b0c7d77565a9f3ef7d
tree2b3cd3c93b328cf67fa5c0b9b5a9fecb127d06bd
parentf1f4b9579ff536e2997733e1ef8bfb6f76d5a3e3
MFC r227290 and r227291:

r227290:
 Fix the DTrace pid return trap interrupt vector.  Previously we were using
 31, but that vector is reserved.

 Without this fix, running dtrace -p <pid> would either cause the target
 process to crash or the kernel to page fault

r227291:
 Replace fasttrap_copyout() with uwrite().  FreeBSD copyout() is not able to
 write to the .text section of a process.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.0@227946 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/amd64/amd64/trap.c
sys/amd64/include/segments.h
sys/amd64/include/trap.h
sys/cddl/contrib/opensolaris/uts/intel/dtrace/fasttrap_isa.c
sys/i386/i386/trap.c
sys/i386/include/segments.h
sys/i386/include/trap.h