diff options
Diffstat (limited to 'internal/fusefrontend_reverse/node_xattr_darwin.go')
| -rw-r--r-- | internal/fusefrontend_reverse/node_xattr_darwin.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/fusefrontend_reverse/node_xattr_darwin.go b/internal/fusefrontend_reverse/node_xattr_darwin.go index f5b58d9..6816a18 100644 --- a/internal/fusefrontend_reverse/node_xattr_darwin.go +++ b/internal/fusefrontend_reverse/node_xattr_darwin.go @@ -8,6 +8,9 @@ import ( "github.com/rfjakob/gocryptfs/v2/internal/syscallcompat" ) +// On Darwin, ENOATTR is returned when an attribute is not found. +const noSuchAttributeError = syscall.ENOATTR + func (n *Node) getXAttr(cAttr string) (out []byte, errno syscall.Errno) { d, errno := n.prepareAtSyscall("") if errno != 0 { |
