summaryrefslogtreecommitdiff
path: root/internal/fusefrontend/xattr_darwin.go
blob: b62600633871ccae10c0e94e9c11be0a20e432e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// +build darwin

// Package fusefrontend interfaces directly with the go-fuse library.
package fusefrontend

import "github.com/pkg/xattr"

func disallowedXAttrName(attr string) bool {
	return false
}

// On Darwin it is needed to unset XATTR_NOSECURITY 0x0008
func filterXattrSetFlags(flags int) int {
	return flags &^ xattr.XATTR_NOSECURITY
}