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: Idc765f6186282bdfcf95960d7b4168c5f0992c31 Signed-off-by:Martijn Coenen <maco@google.com> Git-commit: 5711c305 Git-repo: https://git.linaro.org/kernel/linux-linaro-stable Signed-off-by:
Neeraj Upadhyay <neeraju@codeaurora.org>
Loading
Please register or sign in to comment