anbox-modules/binder
Chris Olin aa2a988464 binder: free the shrinker when binder_init() fails
binder_init() registers the shrinker before init_binderfs(). On failure
the error path returns without binder_alloc_shrinker_exit(), and a failed
module init never runs binder_exit(). The module text is freed while the
shrinker stays registered.

Mainline fixed this in adb9743d6a08 ("binder: fix memory leak in
binder_init()"). Call the existing exit helper on
err_alloc_device_names_failed, which is only reached after a successful
shrinker init.
2026-10-30 16:07:38 -04:00
..
binder_alloc.c binder: don't relock after LRU_REMOVED_RETRY on Linux >= 6.13 2026-10-24 13:14:35 +02:00
binder_alloc.h Fix for kernel 6.13+ 2025-08-01 07:22:20 +02:00
binder_internal.h Update binder to the latest version 2021-09-26 18:54:51 +02:00
binder_trace.h Update binder to the latest version 2021-09-26 18:54:51 +02:00
binder.c binder: free the shrinker when binder_init() fails 2026-10-30 16:07:38 -04:00
binder.h Update binder to the latest version 2021-09-26 18:54:51 +02:00
binderfs.c Fix for Linux 6.19 2026-03-30 20:20:21 +02:00
compat_version.h fix for RHEL 10.1 2026-03-30 19:26:13 +02:00
deps.c binder: call looked-up kernel functions through a push+ret trampoline with IBT 2026-10-24 13:14:35 +02:00
deps.h Fix: remove the redundant header inclusion 2026-07-07 21:27:36 +02:00
dkms.conf Import kernel module source from original Anbox repository 2018-06-08 17:20:21 +02:00
Makefile Update binder to the latest version 2021-09-26 18:54:51 +02:00