diff options
| author | Martijn Coenen <maco@android.com> | 2017-03-07 15:54:56 +0100 |
|---|---|---|
| committer | Martijn Coenen <maco@android.com> | 2017-03-07 16:09:19 +0100 |
| commit | 0fd0992d350402a927408caf20726307993e0010 (patch) | |
| tree | 843317679ece5bd478d391e7b5322dba67f53298 /include/linux/stacktrace.h | |
| parent | 359795138dc5440e09c58025e28ec1b38d648c09 (diff) | |
android: binder: add padding to binder_fd_array_object.
binder_fd_array_object starts with a 4-byte header,
followed by a few fields that are 8 bytes when
ANDROID_BINDER_IPC_32BIT=N.
This can cause alignment issues in a 64-bit kernel
with a 32-bit userspace, as on x86_32 an 8-byte primitive
may be aligned to a 4-byte address. Pad with a __u32
to fix this.
Change-Id: I4374ed2cc3ccd3c6a1474cb7209b53ebfd91077b
Signed-off-by: Martijn Coenen <maco@android.com>
Diffstat (limited to 'include/linux/stacktrace.h')
0 files changed, 0 insertions, 0 deletions
