Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-23 | Merge release-20200914.0-135-gc0f21bb19 (automated) | gVisor bot | |
2020-09-22 | pkg/buffer: Reorganize internal structure to allow dynamic sizes. | Ting-Yu Wang | |
This change changes `buffer.data` into a `[]byte`, from `[bufferSize]byte`. In exchange, each `buffer` is now grouped together to reduce the number of allocation. Plus, `View` now holds an embeded list of `buffer` (via `pool`) to support the happy path which the number of buffer is small. Expect no extra allocation for the happy path. It is to enable the use case for PacketBuffer, which * each `View` is small (way less than `defaultBufferSize`), and * needs to dynamically transfer ownership of `[]byte` to `View`. (to allow gradual migration) PiperOrigin-RevId: 333197252 | |||
2020-09-22 | Merge release-20200914.0-134-gcf3cef117 (automated) | gVisor bot | |
2020-09-22 | Refactor testutil.TestEndpoint and use it instead of limitedEP | Arthur Sfez | |
The new testutil.MockLinkEndpoint implementation is not composed by channel.Channel anymore because none of its features were used. PiperOrigin-RevId: 333167753 | |||
2020-09-22 | Merge release-20200914.0-133-g20dc83c9e (automated) | gVisor bot | |
2020-09-22 | [vfs] [1/2] kernfs: Internally use kernfs.Dentry instead of vfs.Dentry. | Ayush Ranjan | |
Update signatures for: - walkExistingLocked - checkDeleteLocked - Inode.Open Updates #1193 PiperOrigin-RevId: 333163381 | |||
2020-09-22 | Merge release-20200914.0-132-g778c36717 (automated) | gVisor bot | |
2020-09-22 | Fix panic in `runsc flags` | Fabricio Voznika | |
When printing flags, FlagSet.PrintDefaults compares the Zero value to the flag default value. The Zero refs.LeakMode value was panicking in String() because it didn't expect the default to be used Closes #4023 PiperOrigin-RevId: 333150836 | |||
2020-09-22 | Merge release-20200914.0-131-g6e5ea605f (automated) | gVisor bot | |
2020-09-22 | Move stack.fakeClock into a separate package | Toshi Kikuchi | |
PiperOrigin-RevId: 333138701 | |||
2020-09-22 | Merge release-20200914.0-130-g13a9a622e (automated) | gVisor bot | |
2020-09-22 | Allow CLONE_SETTLS for Go 1.16 | Michael Pratt | |
https://go.googlesource.com/go/+/0941fc3 switches the Go runtime (on amd64) from using arch_prctl(ARCH_SET_FS) to CLONE_SETTLS to set the TLS. PiperOrigin-RevId: 333100550 | |||
2020-09-22 | Merge release-20200914.0-129-gf134f873f (automated) | gVisor bot | |
2020-09-22 | Force clone parent_tidptr and child_tidptr to zero | Michael Pratt | |
Neither CLONE_PARENT_SETTID nor CLONE_CHILD_SETTID are used, so these arguments will always be NULL. PiperOrigin-RevId: 333085326 | |||
2020-09-22 | Merge release-20200914.0-128-g742e58b87 (automated) | gVisor bot | |
2020-09-21 | Allow partial writes for gofer.specialFileFD. | Dean Deng | |
Originally, we avoided partial writes in case it caused us to write a partial packet to a socket-backed specialFileFD. However, this check causes splicing from a pipe to specialFileFD to fail if we hit EOF on the pipe. PiperOrigin-RevId: 333016216 | |||
2020-09-21 | Merge release-20200914.0-127-g059d90b9f (automated) | gVisor bot | |
2020-09-21 | Receive ACK when deleting address in syscall tests | Ghanan Gowripalan | |
PiperOrigin-RevId: 332961666 | |||
2020-09-21 | Merge release-20200914.0-126-g73f3a34b5 (automated) | gVisor bot | |
2020-09-21 | Point blog to install guide | Fabricio Voznika | |
It containes full instructions to download and install runsc with Docker now. PiperOrigin-RevId: 332960337 | |||
2020-09-21 | Merge release-20200914.0-125-g06dbd5b7b (automated) | gVisor bot | |
2020-09-21 | Fix socket_ipv4_udp_unbound_test_native in opensource. | Zach Koopmans | |
Calls to recv sometimes fail with EAGAIN, so call select beforehand. PiperOrigin-RevId: 332943156 | |||
2020-09-21 | Merge release-20200914.0-124-g10dcefbc7 (automated) | gVisor bot | |
2020-09-21 | Use kernfs.Dentry for kernfs.Lookup. | Dean Deng | |
Updates #1193. PiperOrigin-RevId: 332939026 | |||
2020-09-21 | Merge release-20200914.0-123-ga129204cf (automated) | gVisor bot | |
2020-09-21 | Fix proc_net_test_native for native tests. | Zach Koopmans | |
"DefaultValueEqZero" is only valid if the test is in a sandbox. Our CI VMs often have "/proc/sys/net/ipv4/ip_forward" set to 1. PiperOrigin-RevId: 332910859 | |||
2020-09-21 | Merge release-20200914.0-122-gd72022373 (automated) | gVisor bot | |
2020-09-21 | Add ftruncate test for writeable fd but no write permissions. | Dean Deng | |
PiperOrigin-RevId: 332907453 | |||
2020-09-21 | Merge release-20200907.0-159-ge09d78f01 (automated) | gVisor bot | |
2020-09-21 | Port fuse tests to Makefile. | Ayush Ranjan | |
PiperOrigin-RevId: 332878900 | |||
2020-09-21 | Merge release-20200907.0-158-g5ce588295 (automated) | gVisor bot | |
2020-09-21 | Fix flakes in UdpSocketTest | Zach Koopmans | |
`recv` calls with MSG_DONTWAIT can fail with EAGAIN randomly in tests. Fix this by calling `select` on sockets with a timeout prior to attempting a `recv`. PiperOrigin-RevId: 332873735 | |||
2020-09-21 | Merge release-20200907.0-157-gca3087472 (automated) | gVisor bot | |
2020-09-20 | Merge pull request #3651 from ianlewis:ip-forwarding | gVisor bot | |
PiperOrigin-RevId: 332760843 | |||
2020-09-19 | Merge release-20200907.0-154-g916751039 (automated) | gVisor bot | |
2020-09-18 | Disable vdso_clock_gettime on KVM. | Jamie Liu | |
Unfortunately, I think TSC misalignment means that we can't really expect any consistent correspondence between a TSC-based VDSO and the sentry's view of time on the KVM platform. PiperOrigin-RevId: 332576147 | |||
2020-09-18 | Merge release-20200907.0-153-g4ba86e625 (automated) | gVisor bot | |
2020-09-18 | Merge pull request #3989 from jinmouil:feature/fuse-fix | gVisor bot | |
PiperOrigin-RevId: 332548335 | |||
2020-09-18 | Merge release-20200907.0-151-g6c9989cb8 (automated) | gVisor bot | |
2020-09-18 | Deflake stat_test with save/restore enabled. | Nicolas Lacasse | |
PiperOrigin-RevId: 332546659 | |||
2020-09-18 | Merge release-20200907.0-150-gc23e39f41 (automated) | gVisor bot | |
2020-09-18 | Implement fsimpl/overlay.filesystem.RenameAt. | Jamie Liu | |
Updates #1199 PiperOrigin-RevId: 332539197 | |||
2020-09-18 | Merge release-20200907.0-149-gb8ba0893e (automated) | gVisor bot | |
2020-09-18 | Disable PHP test ext/standard/tests/streams/proc_open_bug60120.phpt. | Jamie Liu | |
PiperOrigin-RevId: 332521647 | |||
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 | fuse: update design doc with I/O implementation | Jinmou Li | |
2020-09-18 | Merge release-20200907.0-147-gf911b43f0 (automated) | gVisor bot | |