summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/vfs/memxattr/BUILD
diff options
context:
space:
mode:
authorJamie Liu <jamieliu@google.com>2021-06-10 18:22:18 -0700
committergVisor bot <gvisor-bot@google.com>2021-06-10 18:25:04 -0700
commit0892420c9796358da06ea3ba375ee3e0fa8595ac (patch)
treede187ea557c28178a171e2b07b677ee3ccc8e967 /pkg/sentry/vfs/memxattr/BUILD
parent3c91fa42aeb3adaf86f0987b545be17125f208dc (diff)
Minor VFS2 xattr changes.
- Allow the gofer client to use most xattr namespaces. As documented by the updated comment, this is consistent with e.g. Linux's FUSE client, and allows gofers to provide extended attributes from FUSE filesystems. - Make tmpfs' listxattr omit xattrs in the "trusted" namespace for non-privileged users. PiperOrigin-RevId: 378778854
Diffstat (limited to 'pkg/sentry/vfs/memxattr/BUILD')
-rw-r--r--pkg/sentry/vfs/memxattr/BUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/sentry/vfs/memxattr/BUILD b/pkg/sentry/vfs/memxattr/BUILD
index d8c4d27b9..ea82f4987 100644
--- a/pkg/sentry/vfs/memxattr/BUILD
+++ b/pkg/sentry/vfs/memxattr/BUILD
@@ -8,6 +8,7 @@ go_library(
visibility = ["//pkg/sentry:internal"],
deps = [
"//pkg/abi/linux",
+ "//pkg/sentry/kernel/auth",
"//pkg/sentry/vfs",
"//pkg/sync",
"//pkg/syserror",