bug-gnulib
[Top][All Lists]
Advanced

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

Re: FYI: new openat-like function: mkdirat


From: Roland McGrath
Subject: Re: FYI: new openat-like function: mkdirat
Date: Wed, 30 Nov 2005 13:36:58 -0800 (PST)

> So I guess the exec*at business would ultimately be more complicated,
> with two file descriptor parameters: one identifying the working
> directory, and another by which to interpret the first parameter
> if it's a relative file name.

It seems adequate to just use chdir/fchdir for changing cwd, and then
execveat given the file name (you can get an fd for the original cwd before
chdir, for relative paths in exec).  

But note that we already have fexecve.




reply via email to

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