moby/builder/remotecontext
Cory Snider c0573b133f
pkg/system: return even richer xattr errors
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 43bf65c174)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-01-23 09:27:49 +01:00
..
git builder/remotecontext: format code with gofumpt 2023-06-29 00:25:21 +02:00
urlutil Fix isGitURL regular expression 2024-01-20 12:19:07 +01:00
archive.go pkg/system: return even richer xattr errors 2024-01-23 09:27:49 +01:00
detect.go pkg/containerfs: deprecate ResolveScopedPath 2024-01-02 15:32:31 +01:00
detect_test.go builder/remotecontext: format code with gofumpt 2023-06-29 00:25:21 +02:00
filehash.go Add canonical import comment 2018-02-05 16:51:57 -05:00
git.go migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
lazycontext.go pkg/containerfs: drop ContainerFS type alias 2022-09-23 16:56:53 -04:00
mimetype.go builder/remotecontext: remove mimeTypes struct, use consts 2023-05-26 15:21:15 +02:00
mimetype_test.go builder/remotecontext: remove mimeTypes struct, use consts 2023-05-26 15:21:15 +02:00
remote.go builder/remotecontext: remove mimeTypes struct, use consts 2023-05-26 15:21:15 +02:00
remote_test.go builder/remotecontext: format code with gofumpt 2023-06-29 00:25:21 +02:00
tarsum_test.go builder/remotecontext: format code with gofumpt 2023-06-29 00:25:21 +02:00
utils_test.go builder/remotecontext: format code with gofumpt 2023-06-29 00:25:21 +02:00