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
|
||
---|---|---|
.. | ||
args_windows.go | ||
chtimes.go | ||
chtimes_linux_test.go | ||
chtimes_nowindows.go | ||
chtimes_test.go | ||
chtimes_windows.go | ||
chtimes_windows_test.go | ||
errors.go | ||
filesys.go | ||
filesys_unix.go | ||
filesys_windows.go | ||
image_os_deprecated.go | ||
init_windows.go | ||
lstat_unix.go | ||
lstat_unix_test.go | ||
lstat_windows.go | ||
mknod.go | ||
mknod_freebsd.go | ||
mknod_unix.go | ||
stat_bsd.go | ||
stat_darwin.go | ||
stat_linux.go | ||
stat_openbsd.go | ||
stat_unix.go | ||
stat_unix_test.go | ||
stat_windows.go | ||
utimes_unix.go | ||
utimes_unix_test.go | ||
utimes_unsupported.go | ||
xattrs.go | ||
xattrs_linux.go | ||
xattrs_unsupported.go |