> #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; _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/containers