All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Namespace support for Android binder (under ipc-ns)
@ 2013-12-22 10:07 ` Oren Laadan
  0 siblings, 0 replies; 10+ messages in thread
From: Oren Laadan @ 2013-12-22 10:07 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Linux Containers, linux-kernel, Arve Hjønnevåg,
	Eric Biederman, lxc-devel

Hi,

This patch-duo adds namespaces support for the Android binder driver. As
discussed in Plumbers 2013, binder is a form of IPC and therefore will be
tied to ipc namespace.

On the ipc-ns side, the implementation is modelled after generic net-ns
pointers (see commit dec827d), but simplified to suit single user/caller
for now, to reduce complexity.

The binder driver registers with ipc-ns and uses the generic pointer to
store and retrieve its namespace data. That is, each namespace maintains
its own binder context manager - which suffices for separation, since all
transactions require binder handles provided by the context manager.

Thanks,

Oren.


Oren Laadan (2):
  ipc namespace: a generic per-ipc pointer and peripc_ops
  binder: implement namepsace support for Android binder driver

 drivers/staging/android/Kconfig  |   1 +
 drivers/staging/android/binder.c | 172 ++++++++++++++++++++++++++++++++-------
 include/linux/ipc_namespace.h    |  29 +++++++
 ipc/namespace.c                  |   9 ++
 ipc/util.c                       |  60 ++++++++++++++
 ipc/util.h                       |   3 +
 6 files changed, 244 insertions(+), 30 deletions(-)

-- 
1.8.3.2

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-01-08 23:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-22 10:07 [PATCH 0/2] Namespace support for Android binder (under ipc-ns) Oren Laadan
2013-12-22 10:07 ` Oren Laadan
     [not found] ` <cover.1387706794.git.orenl-3AfRa/s5aFdBDgjK7y7TUQ@public.gmane.org>
2013-12-22 10:07   ` [PATCH 1/2] ipc namespace: a generic per-ipc pointer and peripc_ops Oren Laadan
2013-12-22 10:07     ` Oren Laadan
2013-12-22 10:07   ` [PATCH 2/2] binder: implement namepsace support for Android binder driver Oren Laadan
2013-12-22 10:07     ` Oren Laadan
     [not found]     ` <45c5d62a35f19228a681f5be9834741baabfdb0d.1387706794.git.orenl-3AfRa/s5aFdBDgjK7y7TUQ@public.gmane.org>
2013-12-22 10:38       ` Stefan Beller
2013-12-22 10:38         ` Stefan Beller
2014-01-08 23:49       ` Greg Kroah-Hartman
2014-01-08 23:49         ` Greg Kroah-Hartman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.