lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <DC410TGMPWBO.3CP1NM5WWBEJ0@cknow.org>
Date: Sat, 16 Aug 2025 19:26:16 +0200
From: "Diederik de Haas" <didi.debian@...ow.org>
To: "Todd Kjos" <tkjos@...gle.com>
Cc: "Greg Kroah-Hartman" <gregkh@...uxfoundation.org>,
 Arve Hjønnevåg <arve@...roid.com>, "Todd Kjos"
 <tkjos@...roid.com>, "Martijn Coenen" <maco@...roid.com>, "Joel Fernandes"
 <joelagnelf@...dia.com>, "Christian Brauner" <brauner@...nel.org>, "Carlos
 Llamas" <cmllamas@...gle.com>, "Suren Baghdasaryan" <surenb@...gle.com>,
 <linux-kernel@...r.kernel.org>, "Diederik de Haas" <didi.debian@...ow.org>
Subject: Re: RFE: Make ANDROID_BINDER_IPC tristate

On Sat Aug 16, 2025 at 6:37 PM CEST, Todd Kjos wrote:
> This is not feasible since binder relies on many kernel internal functions
> and data that cannot be exported for loadable module. Patches for this have
> been attempted in the past, but soundly rejected. You can see some of that
> discussion at
> https://lore.kernel.org/lkml/20180730143710.14413-1-christian@brauner.io/.

That seems to be the upstreaming attempt (or at least trying to start a
discussion about it) of the initial patch.
A lot could've happened in these 7 years, but apparently not enough for
a different outcome. Good to know, thanks :-)

FWIW these are the current ones:
https://salsa.debian.org/kernel-team/linux/-/blob/debian/6.16.1-1_exp1/debian/patches/debian/export-symbols-needed-by-binder.patch
https://salsa.debian.org/kernel-team/linux/-/blob/debian/6.16.1-1_exp1/debian/patches/debian/android-enable-building-binder-as-module.patch

Cheers,
  Diederik

> On Sat, Aug 16, 2025 at 5:52 AM Diederik de Haas <didi.debian@...ow.org>
> wrote:
>
>> On Sat Aug 16, 2025 at 2:47 PM CEST, Greg Kroah-Hartman wrote:
>> > On Sat, Aug 16, 2025 at 02:11:24PM +0200, Diederik de Haas wrote:
>> >> Programs like Waydroid allows people to run Android in a Linux container
>> >> but it needs ANDROID_BINDER_IPC to do that.
>> >>
>> >> So hereby the request to make ANDROID_BINDER_IPC tristate so people that
>> >> want to use it can load it when needed.
>> >>
>> >> Debian has a patch to make it tristate since 2018, but it would be so
>> >> much more useful to have it tristate upstream.

Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ