Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9b544c3a authored by Martijn Coenen's avatar Martijn Coenen Committed by Gerrit - the friendly Code Review server
Browse files

android: binder: support multiple /dev instances.



Add a new module parameter 'devices', that can be
used to specify the names of the binder device
nodes we want to populate in /dev.

Each device node has its own context manager, and
is therefore logically separated from all the other
device nodes.

The config option CONFIG_ANDROID_BINDER_DEVICES can
be used to set the default value of the parameter.

This approach was favored over using IPC namespaces,
mostly because we require a single process to be a
part of multiple binder contexts, which seemed harder
to achieve with namespaces.

Change-Id: I3df72b2a19b5ad5a0360e6322482db7b00a12b24
Signed-off-by: default avatarMartijn Coenen <maco@google.com>
Git-commit: dc478c98
Git-repo: https://android.googlesource.com/kernel/common


[schikk@codeaurora.org  resolved merge conflicts]
Signed-off-by: default avatarSwetha Chikkaboraiah <schikk@codeaurora.org>
[nabrah@codeaurora.org: Fixed klockwork errors]
Signed-off-by: default avatarNirmal Abraham <nabrah@codeaurora.org>
parent e9f214c0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment