Commit Graph

16 Commits

Author SHA1 Message Date
ssfdust 44e5ba79f5 Fixes for kernel 6.8 2024-02-10 08:49:38 +01:00
TheSola10 abead1debf Fixes for kernel 6.3+ 2023-06-18 16:49:05 +02:00
munix9 a961389cd7 fix for kernel 6.1 2023-01-30 14:55:12 +01:00
Zhang Hua ab8278c603 Add TASK_FREEZABLE
See f5d39b0208 (diff-dc675d837f5054b5e96c5fc9fcb77ad08b94607f88b692930132614aa83613b2)
2023-01-29 09:16:20 +01:00
Noob Zhang 42335c65bc Fix build on 6.1 kernel
See f5d39b0208 for more info.
2023-01-29 09:16:20 +01:00
TheSola10 2325d6fe45 Fixed page fault by matching in-tree binder behavior 2022-09-11 19:24:41 +02:00
TheSola10 68444958fe Patches for kernel 5.19 2022-09-11 19:24:41 +02:00
Dhiego Cassiano Fogaça Barbosa 8148a16275 sync with android binder.c 2021-11-29 08:05:31 +01:00
Dhiego Cassiano Fogaça Barbosa b0c3c5a7c9 compilation fix for kernel 5.15.2
Linux 5.15.2 updated security.h  security_binder_* functions (like security_binder_transfer_binder(), so it uses struct cred* instead of struct task_struct*)
2021-11-29 08:05:31 +01:00
Christian Hoff 516144c6a0 Compile fixes for kernels 5.11, 5.12 & 5.13 2021-10-29 17:50:10 +02:00
Christian Hoff 0338a34979 Update binder to the latest version
Over the last years, many fixes and changes have been applied to
Binder in the Linux kernel, but these fixes were never backported
to anbox-modules. The meant that the version of Binder in anbox-modules
was very outdated.

With this commit, Binder has been update to the latest state from
the Linux kernel. This should also fix the compile on kernel 5.12
and later.
2021-09-26 18:54:51 +02:00
Christian Hoff 6ddae19459 Another compile fix for kernel >= 5.8
With kernel 5.8, the return value of map_kernel_range_noflush()
was changed. This function now returns 0 on success (instead of
the number of successfully mapped pages).

This commit adjusts binder accordingly.
2021-03-08 21:23:59 +01:00
Christian Hoff 443f984b1a Compile fixes for kernel >= 5.8
With the commit 64fe66e8a95e in the Linux kernel, the member "mmap_sem" in the
struct mm_struct was renamed to "mmap_lock". This patch fixes the resulting
compile errors.
2021-03-08 20:44:14 +01:00
Anonymous ae35b8da22 Fix compilation on kernels >= 5.1 2019-05-12 12:45:44 +09:00
Max Khon 67172ec4bd Fix build on vzkernel 3.10 2018-09-06 07:30:17 -04:00
Simon Fels f3d77d660c Import kernel module source from original Anbox repository 2018-06-08 17:20:21 +02:00