github.com/moby/docker@v26.1.3+incompatible/pkg/system/xattrs_unsupported.go (about) 1 //go:build !linux 2 3 package system // import "github.com/docker/docker/pkg/system" 4 5 // Lgetxattr is not supported on platforms other than linux. 6 func Lgetxattr(path string, attr string) ([]byte, error) { 7 return nil, ErrNotSupportedPlatform 8 } 9 10 // Lsetxattr is not supported on platforms other than linux. 11 func Lsetxattr(path string, attr string, data []byte, flags int) error { 12 return ErrNotSupportedPlatform 13 }