Skip to content

Namespace support for Android binder (under ipc-ns)

Oren Laadan containers lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ipc namespace: a generic per-ipc pointer and peripc_opsinclude/linux/ipc_namespace.h ipc/namespace.c ipc/util.c +1 more+101 -00 replies
2/2binder: implement namepsace support for Android binder driverdrivers/staging/android/Kconfig drivers/staging/android/binder.c+143 -302 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchAmir Goldstein
1/2
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Namespace support for Android binder (under ipc-ns)

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(-)
Signature · 1 line
1.8.3.2