github.com/demonoid81/moby@v0.0.0-20200517203328-62dd8e17c460/pkg/system/xattrs_unsupported.go (about) 1 // +build !linux 2 3 package system // import "github.com/demonoid81/moby/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 }