diff options
author | 2017-08-26 15:21:48 +0000 | |
---|---|---|
committer | 2017-08-26 15:21:48 +0000 | |
commit | fadade63e17093dd7d682a475cd73647cd0c97cd (patch) | |
tree | 51e5309c81196ebc2f04150bc6611c08c8ee8cf1 /lib/libtls | |
parent | Make log_debug() more likely to do something by (diff) | |
download | wireguard-openbsd-fadade63e17093dd7d682a475cd73647cd0c97cd.tar.xz wireguard-openbsd-fadade63e17093dd7d682a475cd73647cd0c97cd.zip |
Use copyin32() instead of a direct memory load when fetching a branch
instruction for branch emulation. This ensures the userspace memory
access is properly guarded and that TLB faults are handled.
In order not to complicate the interface of MipsEmulateBranch(), each
caller now has to provide the branch instruction for the function.
Feedback from miod@
Diffstat (limited to 'lib/libtls')
0 files changed, 0 insertions, 0 deletions