mirror of
https://github.com/restic/restic.git
synced 2024-08-18 10:23:26 +02:00
Linux allows the use of non-`user.` extended attributes on symlinks. One of the main users of this functionality is SELinux's `security.selinux` xattr for storing a path's label. By storing symlink xattrs, restic is now suitable for backing up the root filesystem on Linux distributions that use SELinux. This commit adds support for symlink xattrs when backing up data, restoring data, and mounting snapshots via a fuse mount. All calls to the xattr library have been updated to the use `L` variants of the various functions, which always operate on the path given, without following symlinks. Fixes: #4375 Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com> |
||
---|---|---|
.. | ||
.gitignore | ||
issue-426 | ||
issue-719 | ||
issue-1759 | ||
issue-2565 | ||
issue-3328 | ||
issue-3397 | ||
issue-3624 | ||
issue-3941 | ||
issue-4375 | ||
pull-3261 | ||
pull-4166 | ||
pull-4176 | ||
pull-4201 | ||
pull-4220 | ||
pull-4226 | ||
pull-4304 | ||
pull-4318 | ||
pull-4333 | ||
pull-4365 |