From 12b32aa06c0475d60ee51b3753052ac2e4d09308 Mon Sep 17 00:00:00 2001 From: bolshevik Date: Tue, 17 Apr 2018 20:33:04 +0200 Subject: Improved xattr handling on non-linux systems (#227) * Fixed xattr filtering for MacOS. "system." and "user." prefixes are only relevant for Linux. * Small cleanup and additional tests.--- internal/fusefrontend/xattr_notlinux.go | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 internal/fusefrontend/xattr_notlinux.go (limited to 'internal/fusefrontend/xattr_notlinux.go') diff --git a/internal/fusefrontend/xattr_notlinux.go b/internal/fusefrontend/xattr_notlinux.go new file mode 100644 index 0000000..aa9c981 --- /dev/null +++ b/internal/fusefrontend/xattr_notlinux.go @@ -0,0 +1,8 @@ +// +build !linux + +// Package fusefrontend interfaces directly with the go-fuse library. +package fusefrontend + +func disallowedXAttrName(attr string) bool { + return false +} -- cgit v1.2.3