anbox-modules/binder
PEKKA Chang fb109b5eec binder: fix missing prototype for zap_page_range_single
deps.c implements zap_page_range_single() as a runtime compat shim
(resolved via kallsyms_lookup_name), but deps.h never declared its
prototype, and binder_alloc.c did not include deps.h. Newer compilers
(Clang, building with -std=gnu11 and later defaults) treat an
implicit function declaration as a hard error rather than a warning,
so the module fails to build:

  binder_alloc.c:1029:3: error: call to undeclared function
  'zap_page_range_single'; ISO C99 and later do not support implicit
  function declarations [-Wimplicit-function-declaration]

Declare the prototype in deps.h and include it from binder_alloc.c.

Verified the module builds and links cleanly (binder_linux.ko) against
kernel 7.1.1 with the fix applied; previously failed with the error
above.
2026-06-21 15:20:27 +08:00
..
binder_alloc.c binder: fix missing prototype for zap_page_range_single 2026-06-21 15:20:27 +08: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 Fix for kernel 6.14+ 2025-08-01 07:22:20 +02: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 Fixes for kernel 6.8 2024-02-10 08:49:38 +01:00
deps.h binder: fix missing prototype for zap_page_range_single 2026-06-21 15:20:27 +08: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