kientzle 3c03499e5b Start to address the race issue between restoring a file's contents
and restoring the metadata.  In particular, the metadata-restore
functions now all accept a file descriptor and a pathname.  If the
file descriptor is set and the platform supports the appropriate
syscall, restore the metadata through the file descriptor.  Otherwise,
restore it through the pathname.  This is complicated by varying
syscall support (FreeBSD has an fchmod(2) but no fchflags(2), for
example) and because non-file entries don't have an fd to use in
restoring attributes (for example, mknod(2) doesn't return a file
handle).

MFC after: 14 days
2005-05-21 19:45:56 +00:00
..
2005-03-17 08:39:12 +00:00
2005-04-22 18:57:32 +00:00
2005-01-24 20:01:28 +00:00
2005-05-20 15:39:20 +00:00
2005-02-13 22:25:33 +00:00
2005-02-13 23:45:54 +00:00
2005-02-09 18:07:17 +00:00
2005-02-13 23:45:54 +00:00
2005-02-14 18:40:31 +00:00
2005-02-09 18:07:17 +00:00
2005-03-20 10:37:56 +00:00
2005-01-28 17:01:54 +00:00
2005-04-22 18:57:32 +00:00
2005-05-13 20:51:09 +00:00
2005-01-20 09:17:07 +00:00
2005-02-14 02:41:41 +00:00
2005-05-20 13:09:49 +00:00
2005-01-21 10:35:40 +00:00
2005-04-23 02:20:35 +00:00
2005-01-20 09:17:07 +00:00
2005-02-13 23:45:54 +00:00