summaryrefslogtreecommitdiffstats
path: root/lib/libtls
diff options
context:
space:
mode:
authorvisa <visa@openbsd.org>2017-08-26 15:21:48 +0000
committervisa <visa@openbsd.org>2017-08-26 15:21:48 +0000
commitfadade63e17093dd7d682a475cd73647cd0c97cd (patch)
tree51e5309c81196ebc2f04150bc6611c08c8ee8cf1 /lib/libtls
parentMake log_debug() more likely to do something by (diff)
downloadwireguard-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