summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/ui/ui_lib.c
diff options
context:
space:
mode:
authormikeb <mikeb@openbsd.org>2016-04-28 16:40:10 +0000
committermikeb <mikeb@openbsd.org>2016-04-28 16:40:10 +0000
commita80d814f59d31f717d3347188791f25455532f4f (patch)
treeb8fcf798eadfcf57fb798b8b020d15ca93e09779 /lib/libcrypto/ui/ui_lib.c
parentImplement the IETF ChaCha20-Poly1305 cipher suites. (diff)
downloadwireguard-openbsd-a80d814f59d31f717d3347188791f25455532f4f.tar.xz
wireguard-openbsd-a80d814f59d31f717d3347188791f25455532f4f.zip
Preserve the domid when swapping 16 bit grant table entry flags
We use an atomic CMPXCHG on first 32 bits of the grant table entry when revoking access to the memory page. Target domain ID field is part of these 32 bits, thus shouldn't be masked out for comparison. This appears to be the last piece of the QubesOS VM chaining puzzle; tested by Marco Peereboom, thanks!
Diffstat (limited to 'lib/libcrypto/ui/ui_lib.c')
0 files changed, 0 insertions, 0 deletions