aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/pg.h
diff options
context:
space:
mode:
authorCarlos Llamas <cmllamas@google.com>2022-06-01 01:00:17 +0000
committerArnd Bergmann <arnd@arndb.de>2022-06-02 17:47:25 +0200
commit8cc5b032240ae5220b62c689c20459d3e1825b2d (patch)
tree594d80b405aa49f69779d5339b6d731e84a3ad1b /include/uapi/linux/pg.h
parentsparc: fix mis-use of __kernel_{uid,gid}_t in uapi/asm/stat.h (diff)
downloadlinux-dev-8cc5b032240ae5220b62c689c20459d3e1825b2d.tar.xz
linux-dev-8cc5b032240ae5220b62c689c20459d3e1825b2d.zip
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 169adc2b6b3c ("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: 169adc2b6b3c ("android/binder.h: add linux/android/binder(fs).h to UAPI compile-test coverage") Reported-by: Christopher Ferris <cferris@google.com> Signed-off-by: Carlos Llamas <cmllamas@google.com> Acked-by: Todd Kjos <tkjos@google.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include/uapi/linux/pg.h')
0 files changed, 0 insertions, 0 deletions