On Fri, 2006-05-12 at 10:24 -0500, Serge E. Hallyn wrote: > > - exit_utsname(current); > - exit_namespace(current); > - exit_nsproxy(current); > + exit_task_namespaces(current); > current->nsproxy = init_task.nsproxy; > - get_nsproxy(current->nsproxy); > - get_namespace(current->nsproxy->namespace); > - get_uts_ns(current->nsproxy->uts_ns); > + get_namespaces(current); That really cleans up the main path quite a bit. Very nice. For parity with exit_task_namespaces(), should that be called get_task_namespaces()? -- Dave - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH 2/9] nsproxy: incorporate fs namespace
- From: "Serge E. Hallyn" <[email protected]>
- Re: [PATCH 2/9] nsproxy: incorporate fs namespace
- From: "Serge E. Hallyn" <[email protected]>
- Re: [PATCH 2/9] nsproxy: incorporate fs namespace
- References:
- [PATCH 2/9] nsproxy: incorporate fs namespace
- From: "Serge E. Hallyn" <[email protected]>
- Re: [PATCH 2/9] nsproxy: incorporate fs namespace
- From: [email protected] (Eric W. Biederman)
- Re: [PATCH 2/9] nsproxy: incorporate fs namespace
- From: "Serge E. Hallyn" <[email protected]>
- Re: [PATCH 2/9] nsproxy: incorporate fs namespace
- From: [email protected] (Eric W. Biederman)
- Re: [PATCH 2/9] nsproxy: incorporate fs namespace
- From: "Serge E. Hallyn" <[email protected]>
- Re: [PATCH 2/9] nsproxy: incorporate fs namespace
- From: [email protected] (Eric W. Biederman)
- Re: [PATCH 2/9] nsproxy: incorporate fs namespace
- From: "Serge E. Hallyn" <[email protected]>
- [PATCH 2/9] nsproxy: incorporate fs namespace
- Prev by Date: Re: [ANNOUNCE] libata: new EH, NCQ, hotplug and PM patches against stable kernel
- Next by Date: [PATCH] oprofile: Fix unnecessary cleverness
- Previous by thread: Re: [PATCH 2/9] nsproxy: incorporate fs namespace
- Next by thread: Re: [PATCH 2/9] nsproxy: incorporate fs namespace
- Index(es):