Hi, On Wed, May 26, 2010 at 04:45:12PM +0200, Carl Fredrik Hammar wrote: > > On 26/05/10 09:32, olafbuddenha...@gmx.net wrote:
> > > IIRC my major concern with this approach was that this way, the > > > original task has to guess what file name will be valid in the new > > > task's context... I don't remember though what my conclusion was > > > regarding this being better or worse than doing the guessing in > > > exec :-( > But since exec still checks that the identity ports are the same and > falls back to using a "/dev/fd/N" path (to a new FD) in that case, it > is almost impossible to end up with the wrong file. Hm, good point... A situation where the new task runs in a different name space *and* needs a "real" filename, is not terribly likely... -antrik-