bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Openat first step passfd api


From: Paul Eggert
Subject: Re: Openat first step passfd api
Date: Thu, 03 Feb 2011 16:46:26 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7

On 02/03/11 06:33, Bastien ROUCARIES wrote:
> No problem, it is even simpler because linkat, renameat does not need to pass 
> back the fd. fork
> fchir to fd2, getpwd, concat path,fchir to fd1, exec rename, return error code

OK, thanks.  One minor suggestion: I think it'd be slightly more reliable
to do the getpwd in fd1 and the real work in fd2.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]