Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-08-18 | Merge release-20200810.0-49-gb3141b680 (automated) | gVisor bot | |
2020-08-18 | Merge release-20200810.0-48-gb9d87ae7a (automated) | gVisor bot | |
2020-08-18 | [vfs2] Implement /proc/sys/net/ipv4/tcp_rmem and /proc/sys/net/ipv4/tcp_wmem. | Ayush Ranjan | |
Updates #1035 PiperOrigin-RevId: 327253907 | |||
2020-08-18 | Merge release-20200810.0-47-g673b6cc7f (automated) | gVisor bot | |
2020-08-18 | Merge release-20200810.0-46-gda5c2ea6d (automated) | gVisor bot | |
2020-08-17 | Add a skeleton for verity file system | gVisor bot | |
PiperOrigin-RevId: 327123477 | |||
2020-08-17 | Merge release-20200810.0-44-gd42d01b97 (automated) | gVisor bot | |
2020-08-17 | Merge release-20200810.0-43-g1b938ba72 (automated) | gVisor bot | |
2020-08-17 | Merge release-20200810.0-42-g988ab2705 (automated) | gVisor bot | |
2020-08-17 | Merge release-20200810.0-41-ge3e1b3689 (automated) | gVisor bot | |
2020-08-17 | [vfs] Do O_DIRECTORY check after resolving symlinks. | Ayush Ranjan | |
Fixes python runtime test test_glob. Updates #3515 We were checking is the to-be-opened dentry is a dir or not before resolving symlinks. We should check that after resolving symlinks. This was preventing us from opening a symlink which pointed to a directory with O_DIRECTORY. Also added this check in tmpfs and removed a duplicate check. PiperOrigin-RevId: 327085895 | |||
2020-08-17 | Merge release-20200810.0-40-ge3c4bbd10 (automated) | gVisor bot | |
2020-08-17 | Merge release-20200810.0-39-g3bd066d50 (automated) | gVisor bot | |
2020-08-15 | Merge release-20200810.0-36-g9a7b5830a (automated) | gVisor bot | |
2020-08-15 | Merge release-20200810.0-35-g1736b2208 (automated) | gVisor bot | |
2020-08-14 | Merge release-20200810.0-28-gd6520e1d0 (automated) | gVisor bot | |
2020-08-13 | [vfs2][gofer] Fix file creation flags sent to gofer. | Ayush Ranjan | |
Fixes php runtime test ext/standard/tests/file/readfile_basic.phpt Fixes #3516 fsgofers only want the access mode in the OpenFlags passed to Create(). If more flags are supplied (like O_APPEND in this case), read/write from that fd will fail with EBADF. See runsc/fsgofer/fsgofer.go:WriteAt() VFS2 was providing more than just access modes. So filtering the flags using p9.OpenFlagsModeMask == linux.O_ACCMODE fixes the issue. Gofer in VFS1 also only extracts the access mode flags while making the create RPC. See pkg/sentry/fs/gofer/path.go:Create() Even in VFS2, when we open a handle, we extract out only the access mode flags + O_TRUNC. See third_party/gvisor/pkg/sentry/fsimpl/gofer/handle.go:openHandle() Added a test for this. PiperOrigin-RevId: 326574829 | |||
2020-08-14 | Merge release-20200810.0-27-gd3bb50ebf (automated) | gVisor bot | |
2020-08-14 | Merge release-20200810.0-26-g20be1c0e6 (automated) | gVisor bot | |
2020-08-14 | Merge release-20200810.0-24-g5036f135e (automated) | gVisor bot | |
2020-08-13 | Merge release-20200810.0-23-g47515f475 (automated) | gVisor bot | |
2020-08-13 | Merge release-20200810.0-21-g36134667b (automated) | gVisor bot | |
2020-08-12 | Add reference leak checking to vfs2 tmpfs.inode. | Dean Deng | |
Updates #1486. PiperOrigin-RevId: 326354750 | |||
2020-08-13 | Merge release-20200810.0-20-g42b610d56 (automated) | gVisor bot | |
2020-08-12 | [vfs2][gofer] Return appropriate errors when opening and creating files. | Ayush Ranjan | |
Fixes php test ext/standard/tests/file/touch_variation5.phpt on vfs2. Updates #3516 Also spotted a bug with O_EXCL, where we did not return EEXIST when we tried to open the root of the filesystem with O_EXCL | O_CREAT. Added some more tests for open() corner cases. PiperOrigin-RevId: 326346863 | |||
2020-08-12 | Merge release-20200810.0-16-ge6df6222a (automated) | gVisor bot | |
2020-08-12 | Merge pull request #3250 from craig08:fuse-getattr | gVisor bot | |
PiperOrigin-RevId: 326313858 | |||
2020-08-12 | Merge release-20200804.0-67-gd797f2666 (automated) | gVisor bot | |
2020-08-12 | Redirect TODO | Fabricio Voznika | |
Fixes #2923 PiperOrigin-RevId: 326296589 | |||
2020-08-10 | Implement FUSE_GETATTR | Craig Chi | |
FUSE_GETATTR is called when a stat(2), fstat(2), or lstat(2) is issued from VFS2 layer to a FUSE filesystem. Fixes #3175 | |||
2020-08-08 | Merge release-20200804.0-52-g3be26a271 (automated) | gVisor bot | |
2020-08-07 | [vfs2] Fix tmpfs mounting. | Ayush Ranjan | |
Earlier we were using NLink to decide if /tmp is empty or not. However, NLink at best tells us about the number of subdirectories (via the ".." entries). NLink = n + 2 for n subdirectories. But it does not tell us if the directory is empty. There still might be non-directory files. We could also not rely on NLink because host overlayfs always returned 1. VFS1 uses Readdir to decide if the directory is empty. Used a similar approach. We now use IterDirents to decide if the "/tmp" directory is empty. Fixes #3369 PiperOrigin-RevId: 325554234 | |||
2020-08-08 | Merge release-20200804.0-49-g343661770 (automated) | gVisor bot | |
2020-08-07 | Don't hold gofer.filesystem.renameMu during dentry destruction. | Jamie Liu | |
PiperOrigin-RevId: 325546629 | |||
2020-08-07 | Merge release-20200804.0-45-g0b7cd1e75 (automated) | gVisor bot | |
2020-08-07 | Mark dropped pages unevictable in fsimpl/gofer.dentry.destroyLocked. | Jamie Liu | |
PiperOrigin-RevId: 325531657 | |||
2020-08-07 | Merge release-20200804.0-39-g93cb66825 (automated) | gVisor bot | |
2020-08-07 | Support separate read/write handles in fsimpl/gofer.dentry. | Jamie Liu | |
PiperOrigin-RevId: 325490674 | |||
2020-08-07 | Merge release-20200804.0-36-g4fa1c304a (automated) | gVisor bot | |
2020-08-07 | Try to update atime and mtime on VFS2 gofer files on dentry eviction. | Jamie Liu | |
PiperOrigin-RevId: 325388385 | |||
2020-08-07 | Merge release-20200804.0-35-gf20e63e31 (automated) | gVisor bot | |
2020-08-06 | Add LinkAt support to gofer | Fabricio Voznika | |
Updates #1198 PiperOrigin-RevId: 325350818 | |||
2020-08-06 | Merge release-20200804.0-27-g35312a95c (automated) | gVisor bot | |
2020-08-05 | Add loss recovery option for TCP. | Nayana Bidari | |
/proc/sys/net/ipv4/tcp_recovery is used to enable RACK loss recovery in TCP. PiperOrigin-RevId: 325157807 | |||
2020-08-06 | Merge release-20200804.0-26-g7ed4b2b5a (automated) | gVisor bot | |
2020-08-05 | Correctly decrement link counts in tmpfs rename operations. | Dean Deng | |
When a directory is replaced by a rename operation, its link count should reach zero. We were missing the link from `dir/.` PiperOrigin-RevId: 325141730 | |||
2020-08-05 | Merge release-20200622.1-337-ga2e129b54 (automated) | gVisor bot | |
2020-08-05 | Add missing case in tmpfs.inode.direntType. | Dean Deng | |
This was discovered by syzkaller. PiperOrigin-RevId: 325025193 | |||
2020-08-05 | Merge release-20200622.1-334-g102735bfb (automated) | gVisor bot | |
2020-08-04 | Inline gofer.regularFileFD.pwriteLocked | Fabricio Voznika | |
Go compiler barely inlines anything, so inline by hand pwriteLocked since it's called from a single place. PiperOrigin-RevId: 324937734 |