summaryrefslogtreecommitdiff
path: root/internal/fusefrontend/args.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/fusefrontend/args.go')
-rw-r--r--internal/fusefrontend/args.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/fusefrontend/args.go b/internal/fusefrontend/args.go
index 646d6c4..f822650 100644
--- a/internal/fusefrontend/args.go
+++ b/internal/fusefrontend/args.go
@@ -39,4 +39,9 @@ type Args struct {
// ExcludeFrom is a list of files from which to read exclusion patterns
// (with wildcard syntax)
ExcludeFrom []string
+ // Suid is true if the filesystem has been mounted with the "-suid" flag.
+ // If it is false, we can ignore the GETXATTR "security.capability" calls,
+ // which are a performance problem for writes. See
+ // https://github.com/rfjakob/gocryptfs/issues/515 for details.
+ Suid bool
}