Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #78637

Bug#1033176: marked as done (linux: Future Android/Waydroid support)

From Diederik de Haas <didi.debian@cknow.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1033176: marked as done (linux: Future Android/Waydroid support)
Date 2023-03-29 23:10 +0200
Message-ID <GeLdp-g0UT-7@gated-at.bofh.it> (permalink)
References <GbKdP-e50q-9@gated-at.bofh.it> <GaOCR-drk7-1@gated-at.bofh.it> <GbKdP-e50q-7@gated-at.bofh.it> <GaOCR-drk7-1@gated-at.bofh.it> <GbKdP-e50q-7@gated-at.bofh.it>
Organization Connecting Knowledge

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Control: reopen -1

On Tuesday, 21 March 2023 14:21:05 CEST Debian Bug Tracking System wrote:
> > In https://github.com/waydroid/waydroid/issues/811 I asked 'upstream'
> > for recommendations on which/how/what kernel modules to enable.
> 
> In https://git.kernel.org/linus/9e18d0c82f0c07f2a41898d4adbb698a953403ee the
> default value of BINDER_DEVICES was changed to "binder,hwbinder,vndbinder"
> whereas the Debian kernel only has "binder". Also in other places they use
> the 3 values, but I haven't been able to find out *why*.
> As I wouldn't be able to make the argument to change it to something else
> and the most important thing is to enable ANDROID_BINDER_IPC, which is
> already the case, there's no need to keep this bug open.
> 
> If someone *can* substantiate why and how things should be changed, they
> should file a bug report (themselves) making the case.

Just received an (unexpected) extra response, which DOES answer the Q I had:

"BINDER_DEVICES defines which binder device names should appear in /dev. 
Different android versions required different devices to be available: the 
latest android version uses "binder,hwbinder,vndbinder" meaning /dev/binder, /
dev/hwbinder, /dev/vndbinder.
At some point Google realized that it's inconvenient to have this change at 
compile time, so they introduced BINDERFS: you can mount a filesystem of type 
binder somewhere and use IOCTLs on it to allocate new device names.

So if you use BINDERFS it doesn't matter which value of BINDER_DEVICES you set 
because you can add (or remove) devices at runtime. In this case 
BINDER_DEVICES is just the set of initial devices present in the root of a 
binderfs.

For mainline linux, BINDERFS is heavily recomended. Waydroid will use it to 
create all the binder devices it needs. You can leave BINDER_DEVICES empty or 
unchanged or whatever you prefer."

I don't really understand how or what `ioctl`s are, but I'm pretty sure others 
do and can now make an informed choice if and how things could be improved.
I'm pretty sure that'll be for Trixie, which has the nice benefit that it can 
be extensively tested.

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1033176: linux: Future Android/Waydroid support Diederik de Haas <didi.debian@cknow.org> - 2023-03-19 01:00 +0100
  Bug#1033176: marked as done (linux: Future Android/Waydroid support) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2023-03-21 14:30 +0100
    Bug#1033176: marked as done (linux: Future Android/Waydroid support) Diederik de Haas <didi.debian@cknow.org> - 2023-03-29 23:10 +0200
      Bug#1033176: linux: Future Android/Waydroid support Diederik de Haas <didi.debian@cknow.org> - 2023-03-30 00:40 +0200
  Processed: Re: Bug#1033176: marked as done (linux: Future  Android/Waydroid support) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2023-03-29 23:10 +0200
  Bug#1033176: linux: Future Android/Waydroid support Djhg2000 <djhg2000@djhg2000.net> - 2023-04-07 19:30 +0200

csiph-web