code: func Lgetxattr(path string, attr string) ([]byte, error) {
  	pathBytes, err := syscall.BytePtrFromString(path)
  	if err != nil {
  		return nil, err
  	}
  	attrBytes, err := syscall.BytePtrFromString(attr)
  	if err != nil {
  		return nil, err
  	}
  
  	dest := make([]byte, 128)
  	destBytes := unsafe.Pointer(&dest[0])
  	sz, _, errno := syscall.Syscall6(syscall.SYS_LGETXATTR, uintptr(unsafe.Pointer(pathBytes)), uintptr(unsafe.Pointer(attrBytes)), uintptr(destBytes), uintptr(len(dest)), 0, 0)
  	if errno == syscall.ENODATA {
  		return nil, nil
  	}
  	if errno == syscall.ERANGE {
  		dest = make([]byte, sz)
  		destBytes := unsafe.Pointer(&dest[0])
  		sz, _, errno = syscall.Syscall6(syscall.SYS_LGETXATTR, uintptr(unsafe.Pointer(pathBytes)), uintptr(unsafe.Pointer(attrBytes)), uintptr(destBytes), uintptr(len(dest)), 0, 0)
  	}
  	if errno != 0 {
  		return nil, errno
  	}
  
  	return dest[:sz], nil
  }
docs: // Returns a nil slice and nil error if the xattr is not set