linux-yocto/drivers/android
Tiffany Yang 0fddc6f950 binder: Fix selftest page indexing
[ Upstream commit bea3e7bfa2 ]

The binder allocator selftest was only checking the last page of buffers
that ended on a page boundary. Correct the page indexing to account for
buffers that are not page-aligned.

Signed-off-by: Tiffany Yang <ynaffit@google.com>
Acked-by: Carlos Llamas <cmllamas@google.com>
Link: https://lore.kernel.org/r/20250714185321.2417234-2-ynaffit@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-08-20 18:40:58 +02:00
..
binder_alloc_selftest.c binder: Fix selftest page indexing 2025-08-20 18:40:58 +02:00
binder_alloc.c binder: use per-vma lock in page reclaiming 2024-12-24 09:35:23 +01:00
binder_alloc.h binder: rename alloc->buffer to vm_start 2024-12-24 09:35:23 +01:00
binder_internal.h binder: fix use-after-free in binderfs_evict_inode() 2025-05-21 14:38:49 +02:00
binder_trace.h binder: rename alloc->buffer to vm_start 2024-12-24 09:35:23 +01:00
binder.c binder: fix yet another UAF in binder_devices 2025-05-25 11:25:07 +02:00
binderfs.c Char/Misc/IIO pull request for 6.16-rc1 2025-06-06 11:50:47 -07:00
dbitmap.h binder: fix descriptor lookup for context manager 2024-07-31 13:47:48 +02:00
Kconfig
Makefile