AndroidO binder aligen

xiaoxiao2021-02-28  160

https://android-review.googlesource.com/#/c/349091/1/include/uapi/linux/android/binder.h

binder_fd_array_object starts with a 4-byte header,followed by a few fields that are 8 bytes whenANDROID_BINDER_IPC_32BIT=N.This can cause alignment issues in a 64-bit kernelwith a 32-bit userspace, as on x86_32 an 8-byte primitivemay be aligned to a 4-byte address. Pad with a __u32to fix this.

转载请注明原文地址: https://www.6miu.com/read-18960.html

最新回复(0)