Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-11-13 | Merge release-20201030.0-77-gd700ba22a (automated) | gVisor bot | |
2020-11-12 | Pad with a loop rather than a copy from an allocation. | Julian Elischer | |
Add a unit test for ipv4.Encode and a round trip test. PiperOrigin-RevId: 342169517 | |||
2020-11-13 | Merge release-20201030.0-76-g74be0dd0d (automated) | gVisor bot | |
2020-11-12 | Remove TESTONLY tag from vfs2 flag | Fabricio Voznika | |
Updates #1035 PiperOrigin-RevId: 342168926 | |||
2020-11-13 | Merge release-20201030.0-75-g468caff45 (automated) | gVisor bot | |
2020-11-12 | Rename kernel.TaskContext to kernel.TaskImage. | Jamie Liu | |
This reduces confusion with context.Context (which is also relevant to kernel.Tasks) and is consistent with existing function kernel.LoadTaskImage(). PiperOrigin-RevId: 342167298 | |||
2020-11-13 | Merge release-20201030.0-74-g1a972411b (automated) | gVisor bot | |
2020-11-12 | Move packet handling to NetworkEndpoint | Ghanan Gowripalan | |
The NIC should not hold network-layer state or logic - network packet handling/forwarding should be performed at the network layer instead of the NIC. Fixes #4688 PiperOrigin-RevId: 342166985 | |||
2020-11-13 | Merge release-20201030.0-73-gae7ab0a33 (automated) | gVisor bot | |
2020-11-12 | Filter dentries with non-zero refs in VFS2 gofer/overlay checks. | Jamie Liu | |
PiperOrigin-RevId: 342161204 | |||
2020-11-13 | Merge release-20201030.0-72-g2a1974b07 (automated) | gVisor bot | |
2020-11-12 | [infra] Do not use debug flags for testing. | Ayush Ranjan | |
This causes some networking related tests to take a very long time. Upon failure, tests can be manually run with debug flags to debug. As is the strace logs are not available from a test run. PiperOrigin-RevId: 342156294 | |||
2020-11-13 | Merge release-20201030.0-71-ga47d38495 (automated) | gVisor bot | |
2020-11-12 | Refactor merkletree tests | Chong Cai | |
Separate the test cases from TestVerify so that the test names reflect the test case better. PiperOrigin-RevId: 342152754 | |||
2020-11-12 | Merge release-20201030.0-70-gac62743e3 (automated) | gVisor bot | |
2020-11-11 | Read fsimpl/tmpfs timestamps atomically. | Jamie Liu | |
PiperOrigin-RevId: 341982672 | |||
2020-11-12 | Merge release-20201030.0-69-g447452fb1 (automated) | gVisor bot | |
2020-11-11 | Add documentation for reference counting. | Dean Deng | |
Fixes #1486. PiperOrigin-RevId: 341966640 | |||
2020-11-11 | Merge release-20201030.0-68-g9c4102896 (automated) | gVisor bot | |
2020-11-11 | Teach netstack how to add options to IPv4 packets | Julian Elischer | |
Most packets don't have options but they are an integral part of the standard. Teaching the ipv4 code how to handle them will simplify future testing and use. Because Options are so rare it is worth making sure that the extra work is kept out of the fast path as much as possible. Prior to this change, all usages of the IHL field of the IPv4Fields/Encode system set it to the same constant value except in a couple of tests for bad values. From this change IHL will not be a constant as it will depend on the size of any Options. Since ipv4.Encode() now handles the options it becomes a possible source of errors to let the callers set this value, so remove it entirely and calculate the value from the size of the Options if present (or not) therefore guaranteeing a correct value. Fixes #4709 RELNOTES: n/a PiperOrigin-RevId: 341864765 | |||
2020-11-11 | Merge release-20201030.0-67-g792cbc06d (automated) | gVisor bot | |
2020-11-10 | Add debug logs to startup benchmark. | Zach Koopmans | |
PiperOrigin-RevId: 341757694 | |||
2020-11-11 | Merge release-20201030.0-66-g7f2183df9 (automated) | gVisor bot | |
2020-11-10 | Internal change | Jamie Liu | |
PiperOrigin-RevId: 341732791 | |||
2020-11-10 | Merge release-20201030.0-65-ga0e2966df (automated) | gVisor bot | |
2020-11-10 | Show run-benchmark output. | Adin Scannell | |
PiperOrigin-RevId: 341667792 | |||
2020-11-10 | Merge release-20201030.0-64-g267d18408 (automated) | gVisor bot | |
2020-11-10 | Add all base and fs tests to Continuous Tests. | Zach Koopmans | |
PiperOrigin-RevId: 341660511 | |||
2020-11-10 | Merge release-20201030.0-63-ge998b9904 (automated) | gVisor bot | |
2020-11-10 | Add logging to internal gvisor when checking for kcov. | Dean Deng | |
May help with debugging https://syzkaller.appspot.com/bug?id=0d717bd7028dceeb4b38f09aab2841c398b41d81 PiperOrigin-RevId: 341640485 | |||
2020-11-10 | Merge release-20201030.0-62-g3b353ff0e (automated) | gVisor bot | |
2020-11-09 | Additions to ICMP and IPv4 parsers | Julian Elischer | |
Teach ICMP.Parser/ToBytes to handle some non echo ICMP packets. Teach IPv4.Parser that fragments only have a payload, not an upper layer. Fix IPv4 and IPv6 reassembly tests to handle the change. Fixes #4758 PiperOrigin-RevId: 341549665 | |||
2020-11-10 | Merge release-20201030.0-61-gb2d5b71ec (automated) | gVisor bot | |
2020-11-09 | Evaluate T as a shell variable, not a Make variable. | Adin Scannell | |
PiperOrigin-RevId: 341531230 | |||
2020-11-09 | Merge release-20201030.0-60-g199fcd0fe (automated) | gVisor bot | |
2020-11-09 | Skip `EventHUp` notify in `FIN_WAIT2` on a socket close. | Mithun Iyer | |
This Notify was added as part of cl/279106406; but notifying `EventHUp` in `FIN_WAIT2` is incorrect, as we want to only notify later on `TIME_WAIT` or a reset. However, we do need to notify any blocked waiters of an activity on the endpoint with `EventIn`|`EventOut`. PiperOrigin-RevId: 341490913 | |||
2020-11-09 | Merge release-20201030.0-59-g2fcca60a7 (automated) | gVisor bot | |
2020-11-09 | net: connect to the ipv4 localhost returns ENETUNREACH if the address isn't set | Andrei Vagin | |
cl/340002915 modified the code to return EADDRNOTAVAIL if connect is called for a localhost address which isn't set. But actually, Linux returns EADDRNOTAVAIL for ipv6 addresses and ENETUNREACH for ipv4 addresses. Updates #4735 PiperOrigin-RevId: 341479129 | |||
2020-11-09 | Merge release-20201030.0-58-gc59bdd18d (automated) | gVisor bot | |
2020-11-09 | parameterize regexp in netdevs.ParseDevices | Zeling Feng | |
PiperOrigin-RevId: 341470647 | |||
2020-11-09 | Merge release-20201030.0-57-gcbca5b2ed (automated) | gVisor bot | |
2020-11-09 | Print a debug message if /sys/kernel/debug/kcov is available | Andrei Vagin | |
This will help to debug: https://syzkaller.appspot.com/bug?id=0d717bd7028dceeb4b38f09aab2841c398b41d81 PiperOrigin-RevId: 341458715 | |||
2020-11-09 | Merge release-20201030.0-56-gd4e0b829e (automated) | gVisor bot | |
2020-11-09 | Merge pull request #4683 from lemin9538:lemin_fpsmid_fix | gVisor bot | |
PiperOrigin-RevId: 341445910 | |||
2020-11-09 | Merge release-20201030.0-54-g16caaf79f (automated) | gVisor bot | |
2020-11-09 | iptables: add documentation about enabing docker ipv6 | Kevin Krakauer | |
PiperOrigin-RevId: 341439435 | |||
2020-11-09 | Merge release-20201030.0-53-g0fb5353e4 (automated) | gVisor bot | |
2020-11-09 | Initialize references with a value of 1. | Dean Deng | |
This lets us avoid treating a value of 0 as one reference. All references using the refsvfs2 template must call InitRefs() before the reference is incremented/decremented, or else a panic will occur. Therefore, it should be pretty easy to identify missing InitRef calls during testing. Updates #1486. PiperOrigin-RevId: 341411151 | |||
2020-11-07 | Merge release-20201030.0-52-g78cce3a46 (automated) | gVisor bot | |
2020-11-06 | Allow VFS2 gofer.dentries to have separate read and write FDs. | Jamie Liu | |
This is necessary to allow writes to files opened with O_WRONLY to go through host FDs. PiperOrigin-RevId: 341174509 |