summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorsf <sf@openbsd.org>2018-07-13 08:30:34 +0000
committersf <sf@openbsd.org>2018-07-13 08:30:34 +0000
commit5f6ecb1939a610ea2cc43585708e659fc0834e52 (patch)
treea8be7fe09271318b5489abcd5838f39f756e3f48 /lib
parentFix loop condition in ber.c. Discussed with claudio. (diff)
downloadwireguard-openbsd-5f6ecb1939a610ea2cc43585708e659fc0834e52.tar.xz
wireguard-openbsd-5f6ecb1939a610ea2cc43585708e659fc0834e52.zip
Disable codepatching infrastructure after boot
This way, it is not available for use in ROP attacks. This diff puts the codepatching code into a separate section and unmaps that section after boot. In the future, the memory could potentially be reused but that would require larger changes. ok pguenther@
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions