android_kernel_motorola_sm6375/drivers/android
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Carlos Llamas e4daa1a1ff binder: fix max_thread type inconsistency
commit 42316941335644a98335f209daafa4c122f28983 upstream.

The type defined for the BINDER_SET_MAX_THREADS ioctl was changed from
size_t to __u32 in order to avoid incompatibility issues between 32 and
64-bit kernels. However, the internal types used to copy from user and
store the value were never updated. Use u32 to fix the inconsistency.

Fixes: a9350fc859 ("staging: android: binder: fix BINDER_SET_MAX_THREADS declaration")
Reported-by: Arve Hjønnevåg <[email protected]>
Cc: [email protected]
Signed-off-by: Carlos Llamas <[email protected]>
Reviewed-by: Alice Ryhl <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[cmllamas: resolve minor conflicts due to missing commit 421518a2740f]
Signed-off-by: Carlos Llamas <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-16 13:28:48 +02:00
..
binder.c binder: fix max_thread type inconsistency 2024-06-16 13:28:48 +02:00
binder_alloc.c binder: fix unused alloc->free_async_space 2024-01-25 14:34:29 -08:00
binder_alloc.h binder: fix memory leak in binder_init() 2023-08-16 18:19:23 +02:00
binder_alloc_selftest.c
binder_internal.h
binder_trace.h
binderfs.c
Kconfig
Makefile