summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/gofer/attr.go
diff options
context:
space:
mode:
authorJamie Liu <jamieliu@google.com>2021-10-26 00:19:54 -0700
committergVisor bot <gvisor-bot@google.com>2021-10-26 00:22:29 -0700
commit12480f1c4b49234a3761856e40d4d122695b610f (patch)
treed8c03d4a5174f397928a4c6d11c25216b3f15b4b /pkg/sentry/fs/gofer/attr.go
parent4d07fc952d6bb5aa70b4bc9ff5e6457987f1721c (diff)
Ensure statfs::f_namelen is set by VFS2 gofer statfs/fstatfs.
VFS1 discards the value of f_namelen returned by the filesystem and returns NAME_MAX unconditionally instead, so it doesn't run into this. Also set f_frsize for completeness. PiperOrigin-RevId: 405579707
Diffstat (limited to 'pkg/sentry/fs/gofer/attr.go')
0 files changed, 0 insertions, 0 deletions