Searched hist:ac4812c5ffbb88dd3280a6dacd39fcb73e077fe4 (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/android/ |
H A D | Kconfig | diff ac4812c5ffbb88dd3280a6dacd39fcb73e077fe4 Fri Feb 03 23:40:48 CET 2017 Martijn Coenen <maco@google.com> 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.
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Martijn Coenen <maco@google.com> Cc: Arve Hjønnevåg <arve@android.com> Cc: Amit Pundir <amit.pundir@linaro.org> Cc: Serban Constantinescu <serban.constantinescu@arm.com> Cc: Dmitry Shmidt <dimitrysh@google.com> Cc: Rom Lemarchand <romlem@google.com> Cc: Android Kernel Team <kernel-team@android.com> Signed-off-by: Martijn Coenen <maco@google.com> [jstultz: minor checkpatch warning fix] Signed-off-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
H A D | binder.c | diff ac4812c5ffbb88dd3280a6dacd39fcb73e077fe4 Fri Feb 03 23:40:48 CET 2017 Martijn Coenen <maco@google.com> 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.
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Martijn Coenen <maco@google.com> Cc: Arve Hjønnevåg <arve@android.com> Cc: Amit Pundir <amit.pundir@linaro.org> Cc: Serban Constantinescu <serban.constantinescu@arm.com> Cc: Dmitry Shmidt <dimitrysh@google.com> Cc: Rom Lemarchand <romlem@google.com> Cc: Android Kernel Team <kernel-team@android.com> Signed-off-by: Martijn Coenen <maco@google.com> [jstultz: minor checkpatch warning fix] Signed-off-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|