Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-09-18 | Merge release-20200907.0-148-gca4ecf481 (automated) | gVisor bot | |
2020-09-18 | Use a tmpfs file for shared anonymous and /dev/zero mmap on VFS2. | Jamie Liu | |
This is more consistent with Linux (see comment on MM.NewSharedAnonMappable()). We don't do the same thing on VFS1 for reasons documented by the updated comment. PiperOrigin-RevId: 332514849 | |||
2020-09-18 | Merge release-20200907.0-140-gef7d9a6fc (automated) | gVisor bot | |
2020-09-18 | Fix definition of SchedParam. | Rahat Mahmood | |
Linux defines this struct as: struct sched_param { int priority; } ... in include/linux/sched.h. PiperOrigin-RevId: 332473133 | |||
2020-09-16 | Merge release-20200907.0-58-g9ef1c7992 (automated) | gVisor bot | |
2020-09-16 | Merge release-20200907.0-57-gd201feb8c (automated) | gVisor bot | |
2020-09-15 | Enable automated marshalling for the syscall package. | Rahat Mahmood | |
PiperOrigin-RevId: 331940975 | |||
2020-09-15 | Merge release-20200907.0-48-g0d790cbae (automated) | gVisor bot | |
2020-09-15 | Read vfs2 epoll events atomically. | Jamie Liu | |
Discovered by ayushranjan@: VFS2 was employing the following algorithm for fetching ready events from an epoll instance: - Create a statically sized EpollEvent slice on the stack of size 16. - Pass that to EpollInstance.ReadEvents() to populate. - EpollInstance.ReadEvents() requeues level-triggered events that it returns back into the ready queue. - Write the results to usermem. - If the number of results were = 16 then recall EpollInstance.ReadEvents() in the hopes of getting more. But this will cause duplication of the "requeued" ready level-triggered events. So if the ready queue has >= 16 ready events, the EpollWait for loop will spin until it fills the usermem with `maxEvents` events. Fixes #3521 PiperOrigin-RevId: 331840527 | |||
2020-09-14 | Merge release-20200907.0-43-g52ffeb2d6 (automated) | gVisor bot | |
2020-09-14 | Add note about gofer link(2) limitation | Fabricio Voznika | |
PiperOrigin-RevId: 331648296 | |||
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 |