github.com/damirazo/docker@v1.9.0/pkg/system/xattrs_unsupported.go (about)

     1  // +build !linux
     2  
     3  package 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  }