]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r263329:
authormarkj <markj@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 29 Jul 2014 20:33:18 +0000 (20:33 +0000)
committermarkj <markj@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 29 Jul 2014 20:33:18 +0000 (20:33 +0000)
commitc46e6db1a9481d72c54d218787d4cb87ea4e38ec
tree125f3b5dfa4d23a22124872867655bb8d82de512
parent6de583f0199738cecbedbfe54b4f1c0f6779d2d4
MFC r263329:
Only invoke fasttrap hooks for traps from user mode, and ensure that they're
called with interrupts enabled. Calling fasttrap_pid_probe() with interrupts
disabled can lead to deadlock if fasttrap writes to the process' address
space.

git-svn-id: svn://svn.freebsd.org/base/stable/10@269253 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/amd64/amd64/trap.c
sys/i386/i386/trap.c