diff options
author | andrew <andrew@FreeBSD.org> | 2017-04-19 15:59:16 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2017-04-19 15:59:16 +0000 |
commit | b7aef29707b4ceb8e2e598038a1b6c6bedcd075e (patch) | |
tree | bd6e3b1077a26cecbca5807f2373f5e6d8f98193 /share/i18n | |
parent | 4b14b18364b6ec3f1121c654a7d3bf41cfff77fe (diff) | |
download | FreeBSD-src-b7aef29707b4ceb8e2e598038a1b6c6bedcd075e.zip FreeBSD-src-b7aef29707b4ceb8e2e598038a1b6c6bedcd075e.tar.gz |
MFC 313772:
Load the new sp_el0 with interrupts disabled in fork_trampoline. If an
interrupt arrives in fork_trampoline after sp_el0 was written we may then
switch to a new thread, enter userland so change this stack pointer, then
return to this code with the wrong value. This fixes this case by moving
the load of sp_el0 until after interrupts have been disabled.
Diffstat (limited to 'share/i18n')
0 files changed, 0 insertions, 0 deletions