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