Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-03-19 | Merge release-20200219.0-206-ge0fbcdc (automated) | gVisor bot | |
2020-03-19 | Add packetimpact tests to presubmit and CI testing | Eyal Soha | |
PiperOrigin-RevId: 301872161 | |||
2020-03-19 | Merge release-20200219.0-205-g8b461aa (automated) | gVisor bot | |
2020-03-19 | Remove redundant dep in BUILD | Jay Zhuang | |
PiperOrigin-RevId: 301859066 | |||
2020-03-19 | Merge release-20200219.0-204-g3a37f67 (automated) | gVisor bot | |
2020-03-19 | Change SocketOperations.readMu to an RWMutex. | Bhasker Hariharan | |
Also get rid of the readViewHasData as it's not required anymore. Updates #231, #357 PiperOrigin-RevId: 301837227 | |||
2020-03-19 | Merge release-20200219.0-203-gfd27a91 (automated) | gVisor bot | |
2020-03-19 | Address comments on workMu removal change. | Bhasker Hariharan | |
Updates #231, #357 PiperOrigin-RevId: 301833669 | |||
2020-03-19 | Merge release-20200219.0-202-ge9e399c (automated) | gVisor bot | |
2020-03-19 | Remove workMu from tcpip.Endpoint. | Bhasker Hariharan | |
workMu is removed and e.mu is now a mutex that supports TryLock. The packet processing path tries to lock the mutex and if its locked it will just queue the packet and move on. The endpoint.UnlockUser() will process any backlog of packets before unlocking the socket. This simplifies the locking inside tcp endpoints a lot. Further the endpoint.LockUser() implements spinning as long as the lock is not held by another syscall goroutine. This ensures low latency as not spinning leads to the task thread being put to sleep if the lock is held by the packet dispatch path. This is suboptimal as the lower layer rarely holds the lock for long so implementing spinning here helps. If the lock is held by another task goroutine then we just proceed to call LockUser() and the task could be put to sleep. The protocol goroutines themselves just call e.mu.Lock() and block if the lock is currently not available. Updates #231, #357 PiperOrigin-RevId: 301808349 | |||
2020-03-19 | Merge release-20200219.0-201-g3a42638 (automated) | gVisor bot | |
2020-03-18 | Port imported TTY fds to vfs2. | Dean Deng | |
Refactor fs/host.TTYFileOperations so that the relevant functionality can be shared with VFS2 (fsimpl/host.ttyFD). Incorporate host.defaultFileFD into the default host.fileDescription. This way, there is no need for a separate default_file.go. As in vfs1, the TTY file implementation can be built on top of this default and override operations as necessary (PRead/Read/PWrite/Write, Release, Ioctl). Note that these changes still need to be plumbed into runsc, which refers to imported TTYs in control/proc.go:ExecAsync. Updates #1672. PiperOrigin-RevId: 301718157 | |||
2020-03-19 | Merge release-20200219.0-200-g79389f8 (automated) | gVisor bot | |
2020-03-18 | Merge pull request #2187 from kevinGC:deflake-connectTCP | gVisor bot | |
PiperOrigin-RevId: 301716568 | |||
2020-03-18 | iptables: deflake DropTCP*Port tests | Kevin Krakauer | |
These tests could timeout because net.DialTCP didn't respect the timeout. | |||
2020-03-18 | Deflake third_party/gvisor/pkg/gate/gate_test | Andrei Vagin | |
TestConcurrentAll executes 1000 goroutines which never sleep, so they are not preempted by Go's runtime. In Go 1.14, async preemption has been added, but the added runtime.Gosched() call will do nothing wrong in this case too. PiperOrigin-RevId: 301705712 | |||
2020-03-19 | Merge release-20200219.0-197-ga0fed7e (automated) | gVisor bot | |
2020-03-18 | Merge pull request #2061 from lubinszARM:pr_restart_syscall | gVisor bot | |
PiperOrigin-RevId: 301700868 | |||
2020-03-18 | Merge release-20200219.0-195-g92a00ca (automated) | gVisor bot | |
2020-03-18 | Store segment transmit count. | Ian Gudger | |
This will aid in segment reordering detection. Updates #691 PiperOrigin-RevId: 301692638 | |||
2020-03-18 | Merge release-20200219.0-194-gb5ea65c (automated) | gVisor bot | |
2020-03-18 | iptables: skip tests for not-yet-supported features | Kevin Krakauer | |
PiperOrigin-RevId: 301686266 | |||
2020-03-18 | Merge release-20200219.0-193-gf1d1af2 (automated) | gVisor bot | |
2020-03-18 | Fix FDTable.NewFDVFS2 | Fabricio Voznika | |
It was looking at VFS1 table to determine where to allocate the next FD from. Updates #1035 PiperOrigin-RevId: 301678858 | |||
2020-03-18 | Merge release-20200219.0-192-gfc16e64 (automated) | gVisor bot | |
2020-03-18 | Automated rollback of changelist 301476456 | Kevin Krakauer | |
PiperOrigin-RevId: 301650898 | |||
2020-03-18 | Merge release-20200219.0-191-g707664e (automated) | gVisor bot | |
2020-03-18 | Send the ACK later to stabilize the test. | Eyal Soha | |
PiperOrigin-RevId: 301614096 | |||
2020-03-18 | Merge release-20200219.0-190-gc29d4fc (automated) | gVisor bot | |
2020-03-18 | Automated rollback of changelist 301501607 | Bhasker Hariharan | |
PiperOrigin-RevId: 301578043 | |||
2020-03-18 | Merge release-20200219.0-189-geddd6ce (automated) | gVisor bot | |
2020-03-17 | Wrap rand.Reader in a bufio.Reader. | Bhasker Hariharan | |
rand.Read() results in a syscall to the host on every call instead we can wrap it with a bufio.Reader to buffer and reduce number of syscalls. This is especially important for TCP where every newly created endpoint reads random data to initialize the timestamp offsets for the endpoint. Updates #231 PiperOrigin-RevId: 301501607 | |||
2020-03-17 | Merge release-20200219.0-188-g1cc5a71 (automated) | gVisor bot | |
2020-03-17 | iptables: fix type in script name, mark some new tests as skipped | Kevin Krakauer | |
PiperOrigin-RevId: 301476456 | |||
2020-03-17 | Merge release-20200219.0-187-g42d78ba (automated) | gVisor bot | |
2020-03-17 | Remove HostFS from Sentry. | Zach Koopmans | |
PiperOrigin-RevId: 301402181 | |||
2020-03-17 | Merge release-20200219.0-186-g3192e55 (automated) | gVisor bot | |
2020-03-17 | Packetimpact in Go with c++ stub | Eyal Soha | |
PiperOrigin-RevId: 301382690 | |||
2020-03-17 | Merge release-20200219.0-185-gb55f0e5 (automated) | gVisor bot | |
2020-03-16 | fdtable: don't try to zap fdtable entry if close is called for non-existing fd | Andrei Vagin | |
FDTable.setAll is used to zap entries, but it grows the table up to a specified fd. Reported-by: syzbot+9e281b0750d2d4caa190@syzkaller.appspotmail.com PiperOrigin-RevId: 301280000 | |||
2020-03-16 | Merge release-20200219.0-184-g2a6c436 (automated) | gVisor bot | |
2020-03-16 | Enforce file size rlimits in VFS2 | Fabricio Voznika | |
Updates #1035 PiperOrigin-RevId: 301255357 | |||
2020-03-16 | Merge release-20200219.0-183-g0f60799 (automated) | gVisor bot | |
2020-03-16 | Add calls to vfs.CheckSetStat to fsimpls | Fabricio Voznika | |
Only gofer filesystem was calling vfs.CheckSetStat for vfs.FilesystemImpl.SetStatAt and vfs.FileDescriptionImpl.SetStat. Updates #1193, #1672, #1197 PiperOrigin-RevId: 301226522 | |||
2020-03-16 | Merge release-20200219.0-182-g69da428 (automated) | gVisor bot | |
2020-03-16 | Enable ARP resolution in TAP devices. | Ting-Yu Wang | |
PiperOrigin-RevId: 301208471 | |||
2020-03-16 | Merge release-20200219.0-181-g159a230 (automated) | gVisor bot | |
2020-03-16 | Merge pull request #1943 from kevinGC:ipt-filter-ip | gVisor bot | |
PiperOrigin-RevId: 301197007 | |||
2020-03-16 | Merge release-20200219.0-179-g52758e1 (automated) | gVisor bot | |
2020-03-16 | Prevent vnetHdr from escaping in WritePacket. | Bhasker Hariharan | |
PiperOrigin-RevId: 301157950 |