Author :
kettenis
Date :
2020-10-04 20:03:57
Hash :fe11e15c Message :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@, patrick@, drahn@