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


Groups > linux.kernel > #1734239

Re: [PATCH] android: binder: fix type mismatch warning

From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [PATCH] android: binder: fix type mismatch warning
Date 2017-09-18 17:40 +0200
Message-ID <ur6jp-85s-41@gated-at.bofh.it> (permalink)
References <umhSb-t5-39@gated-at.bofh.it> <ur4Uh-7j9-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Sep 18, 2017 at 4:02 PM, Greg Kroah-Hartman
<gregkh@linuxfoundation.org> wrote:
>> However, there is another problem with the Kconfig option: turning
>> it on or off creates two incompatible ABI versions, a kernel that
>> has this enabled cannot run user space that was built without it
>> or vice versa. A better solution might be to leave the option hidden
>> until the binder code is fixed to deal with both ABI versions.
>
> I don't know if that is ever going to be fixed, as it's not an issue
> that you will ever see "in the wild" from what I can tell...

Probably not on a native Android device or even a Chromebook that
ships a binder user space together with a kernel, but what about
people using "anbox" or similar projects that allow you to run
Android apps in a container?

It seems like a legitimate use case of the binder modules, but
now there is a kernel Kconfig option that has to match a user
space binary.

       Arnd

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


Thread

Re: [PATCH] android: binder: fix type mismatch warning Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-09-18 16:10 +0200
  Re: [PATCH] android: binder: fix type mismatch warning Arnd Bergmann <arnd@arndb.de> - 2017-09-18 17:40 +0200
    Re: [PATCH] android: binder: fix type mismatch warning Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-09-18 18:00 +0200
      Re: [PATCH] android: binder: fix type mismatch warning Christoph Hellwig <hch@infradead.org> - 2017-09-18 18:30 +0200
        Re: [PATCH] android: binder: fix type mismatch warning Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-09-18 18:40 +0200
        Re: [PATCH] android: binder: fix type mismatch warning Arnd Bergmann <arnd@arndb.de> - 2017-09-18 21:50 +0200
          Re: [PATCH] android: binder: fix type mismatch warning Martijn Coenen <maco@android.com> - 2017-09-20 11:10 +0200
            Re: [PATCH] android: binder: fix type mismatch warning Arnd Bergmann <arnd@arndb.de> - 2017-09-20 12:00 +0200
              Re: [PATCH] android: binder: fix type mismatch warning Martijn Coenen <maco@android.com> - 2017-09-20 12:30 +0200
                Re: [PATCH] android: binder: fix type mismatch warning Arnd Bergmann <arnd@arndb.de> - 2017-09-20 15:40 +0200
                Re: [PATCH] android: binder: fix type mismatch warning Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-09-21 09:50 +0200
                Re: [PATCH] android: binder: fix type mismatch warning Martijn Coenen <maco@android.com> - 2017-09-22 09:10 +0200
                Re: [PATCH] android: binder: fix type mismatch warning Arnd Bergmann <arnd@arndb.de> - 2017-09-22 11:20 +0200
                Re: [PATCH] android: binder: fix type mismatch warning Martijn Coenen <maco@android.com> - 2017-09-22 14:50 +0200
    Re: [PATCH] android: binder: fix type mismatch warning Christoph Hellwig <hch@infradead.org> - 2017-09-18 18:00 +0200

csiph-web