anbox-modules/binder
Christian Hoff 4af9d5d591 Fix compilation of binder and ashmem on kernel 5.7 and later
On kernel 5.7 and later, kallsyms_lookup_name() can no longer be called from a kernel
module for reasons described here: https://lwn.net/Articles/813350/
As binder really needs to use kallsysms_lookup_name() to access some kernel
functions that otherwise wouldn't be accessible, KProbes are used on later
kernels to get the address of kallsysms_lookup_name(). The function is
afterwards used just as before. This is a very dirty hack though and the much
better solution would be if all the functions that are currently resolved
with kallsysms_lookup_name() would get an EXPORT_SYMBOL() annotation to
make them directly accessible to kernel modules.
2021-03-08 20:19:16 +01:00
..
Makefile Import kernel module source from original Anbox repository 2018-06-08 17:20:21 +02:00
binder.c Fix compilation on kernels >= 5.1 2019-05-12 12:45:44 +09:00
binder.h Import kernel module source from original Anbox repository 2018-06-08 17:20:21 +02:00
binder_trace.h Import kernel module source from original Anbox repository 2018-06-08 17:20:21 +02:00
deps.c Fix compilation of binder and ashmem on kernel 5.7 and later 2021-03-08 20:19:16 +01:00
dkms.conf Import kernel module source from original Anbox repository 2018-06-08 17:20:21 +02:00