diff options
author | Jamie Liu <jamieliu@google.com> | 2021-10-26 00:19:54 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-10-26 00:22:29 -0700 |
commit | 12480f1c4b49234a3761856e40d4d122695b610f (patch) | |
tree | d8c03d4a5174f397928a4c6d11c25216b3f15b4b /pkg/sentry/fsimpl/kernfs/mmap_util.go | |
parent | 4d07fc952d6bb5aa70b4bc9ff5e6457987f1721c (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/fsimpl/kernfs/mmap_util.go')
0 files changed, 0 insertions, 0 deletions