Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-09-12 | Merge release-20200907.0-37-g3ca73841d (automated) | gVisor bot | |
2020-09-11 | Move the 'marshal' and 'primitive' packages to the 'pkg' directory. | Rahat Mahmood | |
PiperOrigin-RevId: 331256608 | |||
2020-09-08 | Merge release-20200818.0-126-gd84ec6c42 (automated) | gVisor bot | |
2020-09-08 | [vfs] Capitalize x in the {Get/Set/Remove/List}xattr functions. | Ayush Ranjan | |
PiperOrigin-RevId: 330554450 | |||
2020-09-04 | Merge release-20200818.0-123-gc564293b6 (automated) | gVisor bot | |
2020-09-03 | Adjust input file offset when sendfile only completes a partial write. | Dean Deng | |
Fixes #3779. PiperOrigin-RevId: 330057268 | |||
2020-09-01 | Merge release-20200818.0-101-g04c284f8c (automated) | gVisor bot | |
2020-09-01 | Fix panic when calling dup2(). | Nayana Bidari | |
PiperOrigin-RevId: 329572337 | |||
2020-08-28 | Merge release-20200818.0-82-g8b9cb36d1 (automated) | gVisor bot | |
2020-08-28 | Fix EOF handling for splice. | Dean Deng | |
Also, add corresponding EOF tests for splice/sendfile. Discovered by syzkaller. PiperOrigin-RevId: 328975990 | |||
2020-08-28 | Merge release-20200818.0-77-g84f04909c (automated) | gVisor bot | |
2020-08-27 | Fix vfs2 pipe behavior when splicing to a non-pipe. | Dean Deng | |
Fixes *.sh Java runtime tests, where splice()-ing from a pipe to /dev/zero would not actually empty the pipe. There was no guarantee that the data would actually be consumed on a splice operation unless the output file's implementation of Write/PWrite actually called VFSPipeFD.CopyIn. Now, whatever bytes are "written" are consumed regardless of whether CopyIn is called or not. Furthermore, the number of bytes in the IOSequence for reads is now capped at the amount of data actually available. Before, splicing to /dev/zero would always return the requested splice size without taking the actual available data into account. This change also refactors the case where an input file is spliced into an output pipe so that it follows a similar pattern, which is arguably cleaner anyway. Updates #3576. PiperOrigin-RevId: 328843954 | |||
2020-08-26 | Merge release-20200818.0-61-g983a55aa0 (automated) | gVisor bot | |
2020-08-25 | Merge release-20200818.0-40-g46485f9d4 (automated) | gVisor bot | |
2020-08-24 | Merge release-20200810.0-94-gbae25d2a0 (automated) | gVisor bot | |
2020-08-24 | Update inotify documentation for gofer filesystem. | Dean Deng | |
We now allow hard links to be created within gofer fs (see github.com/google/gvisor/commit/f20e63e31b56784c596897e86f03441f9d05f567). Update the inotify documentation accordingly. PiperOrigin-RevId: 328177485 | |||
2020-08-21 | Merge release-20200810.0-83-g5ec3d4ed3 (automated) | gVisor bot | |
2020-08-21 | Make mounts ReadWrite first, then later change to ReadOnly. | Nicolas Lacasse | |
This lets us create "synthetic" mountpoint directories in ReadOnly mounts during VFS setup. Also add context.WithMountNamespace, as some filesystems (like overlay) require a MountNamespace on ctx to handle vfs.Filesystem Operations. PiperOrigin-RevId: 327874971 | |||
2020-08-19 | Merge release-20200810.0-57-gf2822da54 (automated) | gVisor bot | |
2020-08-18 | Move ERESTART* error definitions to syserror package. | Dean Deng | |
This is needed to avoid circular dependencies between the vfs and kernel packages. PiperOrigin-RevId: 327355524 | |||
2020-08-17 | Merge release-20200810.0-44-gd42d01b97 (automated) | gVisor bot | |
2020-08-17 | Stop masking the IO error in handleIOError. | Nicolas Lacasse | |
PiperOrigin-RevId: 327123331 | |||
2020-08-12 | Merge release-20200804.0-66-gc5ed39016 (automated) | gVisor bot | |
2020-08-12 | Release fd references on aio callback cancellation. | Dean Deng | |
Discovered by reference leak checker on tmpfs.inode. PiperOrigin-RevId: 326294755 | |||
2020-08-05 | Merge release-20200804.0-23-g1403a88c6 (automated) | gVisor bot | |
2020-08-05 | Release extra memfd reference. | Dean Deng | |
PiperOrigin-RevId: 325122849 | |||
2020-08-05 | Merge release-20200622.1-335-g87ee3898f (automated) | gVisor bot | |
2020-08-04 | Handle EOF in vfs2 sendfile. | Dean Deng | |
Discovered by syzkaller. PiperOrigin-RevId: 324938438 | |||
2020-08-03 | Merge release-20200622.1-314-g5626ccf61 (automated) | gVisor bot | |
2020-08-03 | Remove old TODO. | Dean Deng | |
Fixes #2920. PiperOrigin-RevId: 324695118 | |||
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-08-03 | Merge release-20200622.1-310-g1fbbc795e (automated) | gVisor bot | |
2020-08-03 | Add inotify events for fallocate and tests for fallocate/sendfile. | Dean Deng | |
Updates #1479, #2923. PiperOrigin-RevId: 324658826 | |||
2020-07-31 | Merge release-20200622.1-300-ga7d9aa6d5 (automated) | gVisor bot | |
2020-07-31 | Clean up vfs2 fallocate. | Dean Deng | |
Move to setstat.go and add a FileDescription wrapper method. PiperOrigin-RevId: 324165277 | |||
2020-07-30 | Fix SETOWN_EX return value. | Dean Deng | |
Return on success should be 0, not size of the struct copied out. PiperOrigin-RevId: 324029193 | |||
2020-07-27 | Merge release-20200622.1-238-g9a4ad9d5e (automated) | gVisor bot | |
2020-07-27 | Merge pull request #2958 from lubinszARM:pr_vfs2_1 | gVisor bot | |
PiperOrigin-RevId: 323443142 | |||
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-24 | Merge release-20200622.1-207-g4ec351633 (automated) | gVisor bot | |
2020-07-23 | Implement get/set_robust_list. | Nicolas Lacasse | |
PiperOrigin-RevId: 322904430 | |||
2020-07-23 | Merge release-20200622.1-206-g5e34ee68c (automated) | gVisor bot | |
2020-07-23 | Added stub FUSE filesystem | Ridwan Sharif | |
Allow FUSE filesystems to be mounted using libfuse. The appropriate flags and mount options are parsed and understood by fusefs. | |||
2020-07-23 | Merge release-20200622.1-195-g6f7f73996 (automated) | gVisor bot | |
2020-07-23 | Marshallable socket opitons. | Ayush Ranjan | |
Socket option values are now required to implement marshal.Marshallable. Co-authored-by: Rahat Mahmood <rahat@google.com> PiperOrigin-RevId: 322831612 | |||
2020-07-23 | Merge release-20200622.1-193-gb396d3882 (automated) | gVisor bot | |
2020-07-23 | Port sendfile to vfs2. | Nicolas Lacasse | |
And do some refactoring of the wait logic in sendfile/splice/tee. Updates #1035 #2923 PiperOrigin-RevId: 322815521 | |||
2020-07-07 | Merge release-20200622.1-74-g10930189c (automated) | gVisor bot | |