svn commit: r195458 - in head: include lib/libc/sys sys/bsm
sys/compat/freebsd32 sys/compat/svr4 sys/i386/ibcs2 sys/kern sys/sys
Jilles Tjoelker
jilles at stack.nl
Fri Jul 17 09:52:37 UTC 2009
On Tue, Jul 14, 2009 at 09:02:35AM -0700, Tim Kientzle wrote:
> Another data point: I've started looking at the *at()
> functions for libarchive's deep directory handling. The
> current code uses chdir() to manipulate files with very long
> pathnames, but that causes complications for libarchive
> clients that I'd like to eliminate. Using *at() functions
> to manage a "virtual current directory" looks a lot more robust.
> Unfortunately, there are still a few operations that are
> unavailable with this paradigm:
> * ACL functions
> * extattr functions
Right. As with pathconf(), "at" variants with AT_SYMLINK_NOFOLLOW option
would be useful here.
> * link()
> * symlink()
linkat() and symlinkat() exist.
In addition to providing the "at" functionality, linkat() allows
creating hard links to symlinks.
--
Jilles Tjoelker
More information about the svn-src-all
mailing list