Hello, On Tue, Apr 20, 2010 at 08:49:16AM +0200, [email protected] wrote: > > > > I'm still not convinced that this is a good idea in general. Private > > > namespaces always make things somewhat intransparent IMHO. > > > > I agree, unless perhaps it is obviously private, e.g. /proc/self. > > Well, this is not really different from the magic lookups implemented so > far (TTY, FDs) -- so the obvious thing to do is just adding another > magic lookup type. > > The difference with /proc/self is that the PID is kind of public; so it > *could* be handled server-side, if we really wished... But as long as > /proc/self is the only use case, it's probably not worthwhile.
Well, it might be possible to implement the other magic lookups which access to the client's process, which would simplify the lookup protocol and make it easier to extend (adding a server is easier than changing glibc and making sure all client uses the new library). But this is mostly a curiosity at this point, not sure if it is worthwhile to discuss it any further. Regards, Fredrik
