4 ms·
I don't think binder is upstream, nor is the default in many distros. AFAIK support is very limited as not a lot of people use it. In arch it is provided only a
by augusto-moura 2y ago
I don't think binder is upstream, nor is the default in many distros. AFAIK support is very limited as not a lot of people use it. In arch it is provided only as a community package (AUR) [1]. This was a major blocker for me when trying to install anbox or waydroid, custom compiled kernel modules is a no-no for me, not because of security issues (which could exist), but because they can break a lot of stuff and fixing kernel modules is not a stroll in the park.
[1]: https://aur.archlinux.org/packages/binder_linux-dkms https://aur.archlinux.org/packages/binder_linux-dkms
- yjftsjthsd-h 2y agoI'm reasonably confident that it is upstream: https://github.com/torvalds/linux/blob/master/drivers/android/binder.c https://github.com/torvalds/linux/blob/master/drivers/androi... looks like the most obvious bit, though there are other pieces. (And now I'm curious why waydroid is maintaining their own dkms code separate from that; perhaps it's to better target a range of kernel versions?) I will agree that it's not generally actually built/used by distros.
- ac29 2y agoIt is upstream and Arch gives directions for enabling it in the standard kernel: https://wiki.archlinux.org/title/Waydroid#Building_a_kernel https://wiki.archlinux.org/title/Waydroid#Building_a_kernel
- mappu 2y agoIt was moved from linux-staging to proper Linux in 2014 [1], and it's included with Debian oldoldstable, oldstable, and stable as well as Ubuntu linux-image packages, as a module binder_linux.ko; just need to modprobe binder. 1. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/drivers/android/binder.c?ofs=200 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin... 2. https://packages.debian.org/search?suite=buster&arch=any&mode=filename&searchon=contents&keywords=binder_linux.ko https://packages.debian.org/search?suite=buster&arch=any&mod...