diff options
| author | christos <christos@NetBSD.org> | 2021-06-19 13:56:34 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2021-06-19 13:56:34 +0000 |
| commit | 52fea75266aee4480e62dd763d4d3d74b002ea5c (patch) | |
| tree | 6af067edb949290598db4fa0dcd5f5cfd0bbe748 /include | |
| parent | 33c171486c509bfb014f0209d4aee9ee3b314908 (diff) | |
Add external attribute dumping and restoring support from FreeBSD.
Does not fully work yet, attributes are being saved and restored correctly,
but don't appear in the restored files somehow.
Diffstat (limited to 'include')
| -rw-r--r-- | include/protocols/dumprestore.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/protocols/dumprestore.h b/include/protocols/dumprestore.h index 5fe6666b1c6..03fc93dcd54 100644 --- a/include/protocols/dumprestore.h +++ b/include/protocols/dumprestore.h @@ -1,4 +1,4 @@ -/* $NetBSD: dumprestore.h,v 1.19 2020/04/05 15:25:39 joerg Exp $ */ +/* $NetBSD: dumprestore.h,v 1.20 2021/06/19 13:56:34 christos Exp $ */ /* * Copyright (c) 1980, 1993 @@ -95,7 +95,8 @@ extern union u_spcl { int64_t __uc_birthtime; int64_t __uc_atime; int64_t __uc_mtime; - int32_t __uc_spare4[7]; + int32_t __uc_extsize; + int32_t __uc_spare4[6]; uint32_t __uc_file_flags; int32_t __uc_spare5[2]; uint32_t __uc_uid; @@ -125,6 +126,7 @@ extern union u_spcl { #define c_mode __c_ino.__uc_ino.__uc_mode #define c_spare1 __c_ino.__uc_ino.__uc_spare1 #define c_size __c_ino.__uc_ino.__uc_size +#define c_extsize __c_ino.__uc_ino.__uc_extsize #define c_old_atime __c_ino.__uc_ino.__uc_old_atime #define c_atime __c_ino.__uc_ino.__uc_atime #define c_atimensec __c_ino.__uc_ino.__uc_atimensec |
