-
Simon McVittie authored
As documented in cmsg(3), the alignment of control messages is not guaranteed, so for portability to architectures with strong alignment requirements we should memcpy to and from a suitably aligned instance of the desired data structure on the stack. Helps: https://github.com/containers/bubblewrap/issues/637 Signed-off-by:
Simon McVittie <smcv@collabora.com>
Simon McVittie authoredAs documented in cmsg(3), the alignment of control messages is not guaranteed, so for portability to architectures with strong alignment requirements we should memcpy to and from a suitably aligned instance of the desired data structure on the stack. Helps: https://github.com/containers/bubblewrap/issues/637 Signed-off-by:
Simon McVittie <smcv@collabora.com>