summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authormikeb <mikeb@openbsd.org>2016-01-26 15:23:11 +0000
committermikeb <mikeb@openbsd.org>2016-01-26 15:23:11 +0000
commitf52dd5be4bcd7eaa775106e2093a71507731bb6a (patch)
tree1583a9a7450ce3f8547df4849f009252be751abc /lib/libc/stdlib/malloc.c
parentWhen encoding fails in fputwc(3), set the error indicator as required (diff)
downloadwireguard-openbsd-f52dd5be4bcd7eaa775106e2093a71507731bb6a.tar.xz
wireguard-openbsd-f52dd5be4bcd7eaa775106e2093a71507731bb6a.zip
Make sure to use locked atomic operations even on the SP kernel
When executed under the hypervisor we need to make sure that CAS and other atomic operations are executed while locking the bus. Problem reported by Imre Oolberg <imre at auul ! pri ! ee>, thanks!
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions