anbox-modules
anbox-modules copied to clipboard
Binder load not permitted Linux 5.7.2
Both modules compile fine after the workaround I found in issue 49 is applied to my kernel source 5.7.0 was tested and working with the reverted patch, 5.7.1 was not tested
$ uname -a
Linux Opal 5.7.2-2-ARCH-ARM #1 SMP Sat Jun 13 11:46:34 AEST 2020 aarch64 GNU/Linux
$ lsmod | grep _linux
ashmem_linux 24576 0
$ sudo modprobe binder_linux
modprobe: ERROR: could not insert 'binder_linux': Operation not permitted
$ ls /dev/{ashmem,binder}
ls: cannot access '/dev/binder': No such file or directory
/dev/ashmem
This is unfortunate but if that is becoming policy in the Linux kernel only option will be to have binder build into your distro kernel which we already do for Ubuntu.
I'm not sure if this is a policy in the kernel or if a recent change happened that breaks the out of tree modules by chance. The in-tree ashmem and binder work fine in 5.7.2.