Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-10-08 | Merge release-20200928.0-66-ga55bd73d4 (automated) | gVisor bot | |
2020-10-06 | Merge release-20200928.0-55-g1336af78d (automated) | gVisor bot | |
2020-10-06 | Implement membarrier(2) commands other than *_SYNC_CORE. | Jamie Liu | |
Updates #267 PiperOrigin-RevId: 335713923 | |||
2020-10-05 | Merge release-20200928.0-41-g1c1eefbd4 (automated) | gVisor bot | |
2020-10-05 | Merge pull request #4368 from zhlhahaha:1979 | gVisor bot | |
PiperOrigin-RevId: 335492800 | |||
2020-10-02 | Merge release-20200921.0-99-g02cff90ad (automated) | gVisor bot | |
2020-10-02 | Merge pull request #4035 from lubinszARM:pr_misc_01 | gVisor bot | |
PiperOrigin-RevId: 335051794 | |||
2020-09-29 | add related arm64 syscall for vfs2 | Howard Zhang | |
arm64 vfs2: Add support for io_submit/fallocate/ sendfile/newfstatat/readahead/fadvise64 Signed-off-by: Howard Zhang <howard.zhang@arm.com> | |||
2020-09-25 | arm64: some minor changes | Bin Lu | |
This patch adds minor changes for Arm64 platform: 1, add SetRobustList/GetRobustList support for arm64 syscall module. 2, add newfstatat support for arm64 vfs2 syscall module. 3, add tls value in ProtoBuf. Signed-off-by: Bin Lu <bin.lu@arm.com> | |||
2020-09-23 | Merge release-20200914.0-136-gb54dbdfdc (automated) | gVisor bot | |
2020-09-22 | Handle EOF properly in splice/sendfile. | Dean Deng | |
Use HandleIOErrorVFS2 instead of custom error handling. PiperOrigin-RevId: 333227581 | |||
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 |