diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2014-09-22 12:49:47 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2014-09-22 14:27:02 +0200 |
commit | 7f3d3ba1a61f28a951ca5fbe59ed15c7ce55219c (patch) | |
tree | 9370d82e5ca140322c15e2c70af75c67de64511b /src/socket-proxy | |
parent | 95d78c7e7c81a6b788f28c33ef2cafd87471a0d7 (diff) |
bus: align kdbus ioctl parameters to 8byte
All kdbus ioctl arguments must be 8byte aligned. Make sure we use
alloca_align() and _alignas_(8) in all situations where gcc doesn't
guarantee 8-byte alignment.
Note that objects on the stack are always 8byte aligned as we put
_alignas_(8) into the structure definition in kdbus.h.
Diffstat (limited to 'src/socket-proxy')
0 files changed, 0 insertions, 0 deletions