Tim Kientzle
b33c1067f8
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-05-19 07:36:07 +00:00
2005-05-04 12:49:44 +00:00
2005-05-21 19:45:56 +00:00
2005-04-22 18:57:32 +00:00
2005-01-24 20:01:28 +00:00
2004-11-04 08:25:03 +00:00
2005-03-17 21:39:44 +00:00
2005-03-14 17:32:16 +00:00
2005-05-20 15:39:20 +00:00
2005-05-13 16:27:30 +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-05-20 12:46:34 +00:00
2005-04-26 15:02:01 +00:00
2005-04-13 13:42:38 +00:00
2005-02-13 23:45:54 +00:00
2005-03-02 19:09:28 +00:00
2005-02-14 18:40:31 +00:00
2005-02-13 06:21:36 +00:00
2004-12-21 08:47:35 +00:00
2005-02-09 18:07:17 +00:00
2004-12-29 02:18:24 +00:00
2005-04-26 20:41:48 +00:00
2005-03-20 10:37:56 +00:00
2005-01-28 17:01:54 +00:00
2005-03-09 19:23:04 +00:00
2004-12-21 10:49:29 +00:00
2005-01-16 11:22:42 +00:00
2004-12-21 12:05:11 +00:00
2005-04-26 14:25:11 +00:00
2005-04-22 18:57:32 +00:00
2005-05-13 20:51:09 +00:00
2004-12-21 10:49:29 +00:00
2005-05-01 14:11:49 +00:00
2005-04-26 20:41:48 +00:00
2004-12-21 10:16:04 +00:00
2004-12-21 08:47:35 +00:00
2005-01-20 09:17:07 +00:00
2005-02-14 02:41:41 +00:00
2004-12-21 08:47:35 +00:00
2004-10-24 15:33:08 +00:00
2004-10-24 15:33:08 +00:00
2005-05-20 12:55:38 +00:00
2005-02-14 17:42:58 +00:00
2004-12-21 10:16:04 +00:00
2005-04-27 01:29:03 +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-05-13 16:31:11 +00:00
2005-02-13 23:45:54 +00:00
2004-12-21 10:49:29 +00:00
2004-12-21 09:33:47 +00:00
2005-05-11 03:50:50 +00:00
2005-05-06 15:44:20 +00:00
2004-12-21 12:05:11 +00:00
2005-04-20 20:50:32 +00:00