gvisor/pkg/sentry/fsimpl/gofer
Rahat Mahmood 21b6bc7280 Implement mount(2) and umount2(2) for VFS2.
This is mostly syscall plumbing, VFS2 already implements the internals of
mounts. In addition to the syscall defintions, the following mount-related
mechanisms are updated:

- Implement MS_NOATIME for VFS2, but only for tmpfs and goferfs. The other VFS2
  filesystems don't implement node-level timestamps yet.

- Implement the 'mode', 'uid' and 'gid' mount options for VFS2's tmpfs.

- Plumb mount namespace ownership, which is necessary for checking appropriate
  capabilities during mount(2).

Updates #1035

PiperOrigin-RevId: 315035352
2020-06-05 19:12:03 -07:00
..
BUILD Handle gofer blocking opens of host named pipes in VFS2. 2020-06-01 15:33:30 -07:00
directory.go Support pipes and sockets in VFS2 gofer fs. 2020-04-28 08:34:00 -07:00
filesystem.go Fix VFS2 gofer open(O_CREAT) reference leak. 2020-06-01 18:13:01 -07:00
gofer.go Implement IN_EXCL_UNLINK inotify option in vfs2. 2020-05-29 12:28:49 -07:00
gofer_test.go Add vfs.MkdirOptions.ForSyntheticMountpoint. 2020-04-23 15:37:10 -07:00
handle.go Factor fsimpl/gofer.host{Preadv,Pwritev} out of fsimpl/gofer. 2020-04-23 11:08:24 -07:00
host_named_pipe.go Handle gofer blocking opens of host named pipes in VFS2. 2020-06-01 15:33:30 -07:00
p9file.go Port extended attributes to VFS2. 2020-04-10 19:02:55 -07:00
regular_file.go Implement mmap for host fs in vfs2. 2020-05-19 13:46:42 -07:00
socket.go Port netstack, hostinet, and netlink sockets to VFS2. 2020-05-01 12:54:41 -07:00
special_file.go Handle gofer blocking opens of host named pipes in VFS2. 2020-06-01 15:33:30 -07:00
symlink.go Add NAME_MAX checks and update file times 2020-04-02 19:39:03 -07:00
time.go Implement mount(2) and umount2(2) for VFS2. 2020-06-05 19:12:03 -07:00