crosvm/msg_socket
Jingkui Wang 7a9c6def98 msg_socket: fix msg_on_socket alignment issue
Instead of using unaligned memory. Allocate aligned memory and copy into it, we
were already doing an clone. There should be no overhead for this new
approach.

BUG=chromium:900962
TEST=build and run

Change-Id: I011d4c93a872d7d285e8898ff332f3ee1ef104a9
Reviewed-on: https://chromium-review.googlesource.com/1344225
Commit-Ready: Jingkui Wang <jkwang@google.com>
Tested-by: Jingkui Wang <jkwang@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
2018-11-21 05:53:03 -08:00
..
msg_on_socket_derive macros: Format code inside of quote! invocations 2018-11-21 05:52:46 -08:00
src msg_socket: fix msg_on_socket alignment issue 2018-11-21 05:53:03 -08:00
tests msg_socket_on_derive: use fully qualified types 2018-11-07 06:35:06 -08:00
Cargo.toml crosvm: add msg_sock. 2018-10-09 21:14:12 -07:00