On Mon, Apr 25, 2005 at 08:00:20 +0200, Miklos Szeredi wrote: > > Much better is the proposal to make namespaces first-class objects, > > that can be switched to. Then users can choose to have themselves a > > namespace containing their private mounts, if they want it, with > > login/libpam or even a program run from .profile switching into it. > > It would be good if it could be done just in libpam. But that would > require every libpam user to call into it after the fork() or > whatever, so unshare() and join_namespace() don't mess up the server > running environment. They do. The *HAVE* to do! The 'session' stage modifies the environment, so it must be done after the fork. So if it, in addition to environment, modifies namespace, it won't make a difference. > If not, then it would mean modifying numerous programs, having these > modifications integrated, then having distributions pick up the > changes, etc. I would imagine quite a long cycle for this to be > acutally useful. ------------------------------------------------------------------------------- Jan 'Bulb' Hudec <[email protected]>
Attachment:
signature.asc
Description: Digital signature
- Follow-Ups:
- Re: [PATCH] private mounts
- From: Miklos Szeredi <[email protected]>
- Re: [PATCH] private mounts
- References:
- [PATCH] private mounts
- From: Miklos Szeredi <[email protected]>
- Re: [PATCH] private mounts
- From: Christoph Hellwig <[email protected]>
- Re: [PATCH] private mounts
- From: Miklos Szeredi <[email protected]>
- Re: [PATCH] private mounts
- From: Al Viro <[email protected]>
- Re: [PATCH] private mounts
- From: Miklos Szeredi <[email protected]>
- Re: [PATCH] private mounts
- From: Al Viro <[email protected]>
- Re: [PATCH] private mounts
- From: Jamie Lokier <[email protected]>
- Re: [PATCH] private mounts
- From: Miklos Szeredi <[email protected]>
- [PATCH] private mounts
- Prev by Date: [PATCH] i386: optimize swab64
- Next by Date: [PATCH] 2.4.30 PicoPower IRQ router
- Previous by thread: Re: [PATCH] private mounts
- Next by thread: Re: [PATCH] private mounts
- Index(es):