2021-08-23 09:14:53 -04:00
|
|
|
//go:build !linux
|
2014-02-21 04:12:25 -05:00
|
|
|
// +build !linux
|
|
|
|
|
2018-02-05 16:05:59 -05:00
|
|
|
package system // import "github.com/docker/docker/pkg/system"
|
2014-02-21 04:12:25 -05:00
|
|
|
|
2015-07-28 12:13:12 -04:00
|
|
|
// Lgetxattr is not supported on platforms other than linux.
|
2014-02-21 04:12:25 -05:00
|
|
|
func Lgetxattr(path string, attr string) ([]byte, error) {
|
|
|
|
return nil, ErrNotSupportedPlatform
|
|
|
|
}
|
|
|
|
|
2015-07-28 12:13:12 -04:00
|
|
|
// Lsetxattr is not supported on platforms other than linux.
|
2014-02-21 04:12:25 -05:00
|
|
|
func Lsetxattr(path string, attr string, data []byte, flags int) error {
|
|
|
|
return ErrNotSupportedPlatform
|
|
|
|
}
|