diff options
author | 2020-10-04 20:22:22 +0000 | |
---|---|---|
committer | 2020-10-04 20:22:22 +0000 | |
commit | 55f96d4737b5a1f97bebb436859780867663d50a (patch) | |
tree | c9c7c99bacd77da3c791af5ec59af5fb764850c5 /lib/libc/stdlib/malloc.c | |
parent | Change kcopy(9) such that it does 64-bit and 32-bit copies whenever possible. (diff) | |
download | wireguard-openbsd-55f96d4737b5a1f97bebb436859780867663d50a.tar.xz wireguard-openbsd-55f96d4737b5a1f97bebb436859780867663d50a.zip |
Change kcopy(9) such that it does 64-bit and 32-bit copies whenever possible.
This makes sure a kcopy(9) that is a sequence of 64-bit or 32-bit values
that are properly aligned is done atomically. This is needed for kbind(2)
as it needs to update PLT/GOT entries atomically when doing lazy binding.
This seems to fix some random SIGSEGV and SIGTRAP when linking stuff with
ld.lld.
ok deraadt@
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions