> #include <linux/uaccess.h> > #include <linux/vmalloc.h> > #include <linux/slab.h> > +#include <linux/ipc_namespace.h> > #include <linux/pid_namespace.h> > > #include "binder.h" > #include "binder_trace.h" > > +/* > + * Using a private context manager for each binder namespace is sufficient > + * to isolate between namespaces, because in binder all IPC must be realized > + * via hanldes obtained from the context manager.
handles > + * > + * TODO: currently, most debugfs data is not tracked per binder namespaces. > + * Except for "procs" which are properly virtualized, everything else is > + * global, including stats, logs, and dead nodes. > + */ > +struct binder_namespace { > + struct kref kref; > + > + struct binder_node *context_mgr_node; > + kuid_t context_mgr_uid; > + int last_id; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/