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 | Merge release-20200810.0-47-g673b6cc7f (automated) | gVisor bot | |
2020-08-18 | Merge release-20200810.0-46-gda5c2ea6d (automated) | gVisor bot | |
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-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-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-333-gb44408b40 (automated) | gVisor bot | |
2020-08-04 | Automated rollback of changelist 324906582 | Dean Deng | |
PiperOrigin-RevId: 324931854 | |||
2020-08-05 | Merge release-20200622.1-332-g338f96b36 (automated) | gVisor bot | |
2020-08-04 | Merge release-20200622.1-329-g00993130e (automated) | gVisor bot | |
2020-08-04 | Merge release-20200622.1-328-g0500f84b6 (automated) | gVisor bot | |
2020-08-04 | Add reference counting utility to VFS2. | Dean Deng | |
The utility has several differences from the VFS1 equivalent: - There are no weak references, which have a significant overhead - In order to print useful debug messages with the type of the reference- counted object, we use a generic Refs object with the owner type as a template parameter. In vfs1, this was accomplished by storing a type name and caller stack directly in the ref count (as in vfs1), which increases the struct size by 6x. (Note that the caller stack was needed because fs types like Dirent were shared by all fs implementations; in vfs2, each impl has its own data structures, so this is no longer necessary.) As an example, the utility is added to tmpfs.inode. Updates #1486. PiperOrigin-RevId: 324906582 | |||
2020-08-03 | Merge release-20200622.1-313-gb2ae7ea1b (automated) | gVisor bot | |
2020-08-03 | Plumbing context.Context to DecRef() and Release(). | Nayana Bidari | |
context is passed to DecRef() and Release() which is needed for SO_LINGER implementation. PiperOrigin-RevId: 324672584 | |||
2020-07-24 | Merge release-20200622.1-210-gd9a3f5d0c (automated) | gVisor bot | |
2020-07-23 | Add permission checks to vfs2 truncate. | Dean Deng | |
- Check write permission on truncate(2). Unlike ftruncate(2), truncate(2) fails if the user does not have write permissions on the file. - For gofers under InteropModeShared, check file type before making a truncate request. We should fail early and avoid making an rpc when possible. Furthermore, depending on the remote host's failure may give us unexpected behavior--if the host converts the truncate request to an ftruncate syscall on an open fd, we will get EINVAL instead of EISDIR. Updates #2923. PiperOrigin-RevId: 322913569 | |||
2020-07-22 | Merge release-20200622.1-186-g9654bf04a (automated) | gVisor bot | |
2020-07-22 | [vfs2][tmpfs] Implement O_APPEND | Ayush Ranjan | |
Updates #2923 PiperOrigin-RevId: 322671489 | |||
2020-07-07 | Merge release-20200622.1-74-g10930189c (automated) | gVisor bot | |
2020-07-07 | Fix mknod and inotify syscall test | Ayush Ranjan | |
This change fixes a few things: - creating sockets using mknod(2) is supported via vfs2 - fsgofer can create regular files via mknod(2) - mode = 0 for mknod(2) will be interpreted as regular file in vfs2 as well Updates #2923 PiperOrigin-RevId: 320074267 | |||
2020-07-02 | Merge release-20200622.1-59-g6c099d830 (automated) | gVisor bot | |
2020-07-01 | Update preadv2/pwritev2 flag handling in vfs2. | Dean Deng | |
We do not support RWF_SYNC/RWF_DSYNC and probably shouldn't silently accept them, since the user may incorrectly believe that we are synchronizing I/O. Remove the pwritev2 test verifying that we support these flags. gvisor.dev/issue/2601 is the tracking bug for deciding which RWF_.* flags we need and supporting them. Updates #2923, #2601. PiperOrigin-RevId: 319351286 | |||
2020-07-02 | Merge release-20200622.1-57-g52b44719d (automated) | gVisor bot | |
2020-07-01 | [vfs2][gofer] Update file size to 0 on O_TRUNC | Ayush Ranjan | |
Some Open:TruncateXxx syscall tests were failing because the file size was not being updated when the file was opened with O_TRUNC. Fixes Truncate tests in test/syscalls:open_test_runsc_ptrace_vfs2. Updates #2923 PiperOrigin-RevId: 319340127 | |||
2020-07-01 | Merge release-20200622.1-52-g6a90c88b9 (automated) | gVisor bot | |
2020-07-01 | Port fallocate to VFS2. | Zach Koopmans | |
PiperOrigin-RevId: 319283715 | |||
2020-07-01 | Merge release-20200622.1-45-g20d571b0c (automated) | gVisor bot | |
2020-06-30 | Allow O_DIRECT on vfs2 tmpfs files. | Dean Deng | |
Updates #2923. PiperOrigin-RevId: 319153792 | |||
2020-06-27 | Merge release-20200622.1-38-g02d552d07 (automated) | gVisor bot | |
2020-06-27 | Support sticky bit in vfs2. | Dean Deng | |
Updates #2923. PiperOrigin-RevId: 318648128 |