github.com/zhuohuang-hust/src-cbuild@v0.0.0-20230105071821-c7aab3e7c840/mergeCode/runc/libcontainer/xattr/xattr_unsupported.go (about) 1 // +build !linux 2 3 package xattr 4 5 func Listxattr(path string) ([]string, error) { 6 return nil, ErrNotSupportedPlatform 7 } 8 9 func Getxattr(path, attr string) (string, error) { 10 return "", ErrNotSupportedPlatform 11 } 12 13 func Setxattr(path, xattr, value string) error { 14 return ErrNotSupportedPlatform 15 }