From 6697ffd6e213828ff4cd873cd1d104877096a230 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 18 Oct 2020 21:05:44 +0200 Subject: 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 --- internal/syscallcompat/new.txt | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 internal/syscallcompat/new.txt (limited to 'internal/syscallcompat/new.txt') diff --git a/internal/syscallcompat/new.txt b/internal/syscallcompat/new.txt new file mode 100644 index 0000000..df3a0ea --- /dev/null +++ b/internal/syscallcompat/new.txt @@ -0,0 +1,6 @@ +goos: linux +goarch: amd64 +pkg: github.com/rfjakob/gocryptfs/internal/syscallcompat +BenchmarkLgetxattr-4 594607 1799 ns/op +PASS +ok github.com/rfjakob/gocryptfs/internal/syscallcompat 1.108s -- cgit v1.2.3