Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit cc2b7d2e authored by Martijn Coenen's avatar Martijn Coenen Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarMartijn Coenen <maco@android.com>
Git-commit: a388cf91c7fd5279e923e167af59925826b055d5
Git-repo: https://android.googlesource.com/kernel/common


Signed-off-by: default avatarSrinivasarao P <spathi@codeaurora.org>
parent 7a91df49
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment