On 2/12/07, Serge E. Hallyn <[EMAIL PROTECTED]> wrote: > --- a/kernel/container.c > +++ b/kernel/container.c > @@ -1581,6 +1581,14 @@ static void get_unused_name(char *buf) { > sprintf(buf, "node%d", atomic_inc_return(&namecnt)); > } > > +/* XXX need to create include/linux/ns_container.h and move this there */ > +#ifdef CONFIG_CONTAINER_NS > +void ns_set_nsproxy_from_task(struct container *cont, struct task_struct > *tsk); > +#else > +static inline void > +ns_set_nsproxy_from_task(struct container *cont, struct task_struct *tsk) { } > +#endif > +
Can't this just go in include/linux/nsproxy.h ? > > + /* mark the auto-created container with the new namespace list */ > + ns_set_nsproxy_from_task(child, tsk); > + This should be in ns_container_clone() or some (possibly new) subsystem callback, rather than embedded in the generic containers code. Paul ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ ckrm-tech mailing list https://lists.sourceforge.net/lists/listinfo/ckrm-tech