c0573b133f
The names of extended attributes are not completely freeform. Attributes
are namespaced, and the kernel enforces (among other things) that only
attributes whose names are prefixed with a valid namespace are
permitted. The name of the attribute therefore needs to be known in
order to diagnose issues with lsetxattr. Include the name of the
extended attribute in the errors returned from the Lsetxattr and
Lgetxattr so users and us can more easily troubleshoot xattr-related
issues. Include the name in a separate rich-error field to provide code
handling the error enough information to determine whether or not the
failure can be ignored.
Signed-off-by: Cory Snider <csnider@mirantis.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
git | ||
urlutil | ||
archive.go | ||
detect.go | ||
detect_test.go | ||
filehash.go | ||
git.go | ||
lazycontext.go | ||
mimetype.go | ||
mimetype_test.go | ||
remote.go | ||
remote_test.go | ||
tarsum_test.go | ||
utils_test.go |