code: func Lgetxattr(path string, attr string) ([]byte, error) {
  	dest := make([]byte, 128)
  	sz, errno := unix.Lgetxattr(path, attr, dest)
  	if errno == unix.ENODATA {
  		return nil, nil
  	}
  	if errno == unix.ERANGE {
  		dest = make([]byte, sz)
  		sz, errno = unix.Lgetxattr(path, attr, dest)
  	}
  	if errno != nil {
  		return nil, errno
  	}
  
  	return dest[:sz], nil
  }
docs: // Lgetxattr retrieves the value of the extended attribute identified by attr
  // and associated with the given path in the file system.
  // It will returns a nil slice and nil error if the xattr is not set.