android_kernel_motorola_sm6375/drivers/android
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Carlos Llamas fc1119a3c6 binder: fix async space check for 0-sized buffers
commit 3091c21d3e9322428691ce0b7a0cfa9c0b239eeb upstream.

Move the padding of 0-sized buffers to an earlier stage to account for
this round up during the alloc->free_async_space check.

Fixes: 74310e06be ("android: binder: Move buffer out of area shared with user space")
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Signed-off-by: Carlos Llamas <cmllamas@google.com>
Link: https://lore.kernel.org/r/20231201172212.1813387-5-cmllamas@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-01-25 14:34:29 -08:00
..
binder.c binder: use EPOLLERR from eventpoll.h 2024-01-25 14:34:21 -08:00
binder_alloc.c binder: fix async space check for 0-sized buffers 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