Skip to content
Commit 8cc5b032 authored by Carlos Llamas's avatar Carlos Llamas Committed by Arnd Bergmann
Browse files

binder: fix sender_euid type in uapi header



The {pid,uid}_t fields of struct binder_transaction were recently
replaced to use kernel types in commit 169adc2b ("android/binder.h:
add linux/android/binder(fs).h to UAPI compile-test coverage").

However, using __kernel_uid_t here breaks backwards compatibility in
architectures using 16-bits for this type, since glibc and some others
still expect a 32-bit uid_t. Instead, let's use __kernel_uid32_t which
avoids this compatibility problem.

Fixes: 169adc2b ("android/binder.h: add linux/android/binder(fs).h to UAPI compile-test coverage")
Reported-by: default avatarChristopher Ferris <cferris@google.com>
Signed-off-by: default avatarCarlos Llamas <cmllamas@google.com>
Acked-by: default avatarTodd Kjos <tkjos@google.com>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 3cbcff69
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment