From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oren Laadan Subject: [PATCH 0/2] Namespace support for Android binder (under ipc-ns) Date: Sun, 22 Dec 2013 05:07:38 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Greg Kroah-Hartman Cc: Linux Containers , linux-kernel , =?UTF-8?q?Arve=20Hj=C3=B8nnev=C3=A5g?= , Eric Biederman , lxc-devel List-Id: containers.vger.kernel.org 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