gvisor/pkg/sentry/fsimpl
Fabricio Voznika dd3bc49997 Add NAME_MAX checks and update file times
NAME_MAX should be enforced per filesystem implementation
because other file systems may not have the same restriction.

Gofer filesystem now keeps a reference to the kernel clock to
avoid lookup in the Context on file access to update atime.

Update access, modification, and status change times in tmpfs.

Updates #1197, #1198.

PiperOrigin-RevId: 304527148
2020-04-02 19:39:03 -07:00
..
devtmpfs
ext Add FilesystemType.Name method, and FilesystemType field to Filesystem struct. 2020-03-27 16:56:16 -07:00
gofer Add NAME_MAX checks and update file times 2020-04-02 19:39:03 -07:00
host Add FilesystemType.Name method, and FilesystemType field to Filesystem struct. 2020-03-27 16:56:16 -07:00
kernfs Add NAME_MAX checks and update file times 2020-04-02 19:39:03 -07:00
proc Fix /proc/self/mounts and /proc/self/mountinfo in VFS2. 2020-03-31 15:07:26 -07:00
sockfs Add socket filesystem and global disconnected socket mount for VFS2. 2020-03-31 19:17:12 -07:00
sys Add FilesystemType.Name method, and FilesystemType field to Filesystem struct. 2020-03-27 16:56:16 -07:00
testutil Allow passing root file type to tmpfs. 2020-03-31 15:02:57 -07:00
tmpfs Add NAME_MAX checks and update file times 2020-04-02 19:39:03 -07:00