diff options
author | Jakob Unterwurzacher | 2020-10-18 21:05:44 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2020-10-18 21:07:30 +0200 |
commit | 6697ffd6e213828ff4cd873cd1d104877096a230 (patch) | |
tree | f256f0b720d0472b37c0af08806786d2232e8806 /mount.go | |
parent | c943ed32aaf94a4e60d96c7a513180d29b15a40a (diff) |
fusefronted: reject GETXATTR "security.capability"
Unless we are mounted with -suid, we can reject
these requests, and gain back some lost speed.
Closes https://github.com/rfjakob/gocryptfs/issues/515
Diffstat (limited to 'mount.go')
-rw-r--r-- | mount.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -266,6 +266,7 @@ func initFuseFrontend(args *argContainer) (rootNode fs.InodeEmbedder, wipeKeys f Exclude: args.exclude, ExcludeWildcard: args.excludeWildcard, ExcludeFrom: args.excludeFrom, + Suid: args.suid, } // confFile is nil when "-zerokey" or "-masterkey" was used if confFile != nil { |