Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-11-25 | Merge release-20191114.0-27-g2b1b51f (automated) | gVisor bot | |
2019-11-25 | Fix panic in sniffer. | Kevin Krakauer | |
Packets written via SOCK_RAW are guaranteed to have network headers, but not transport headers. Check first whether there are enough bytes left in the packet to contain a transport header before attempting to parse it. PiperOrigin-RevId: 282363895 | |||
2019-11-23 | Cleanup visibility. | Adin Scannell | |
PiperOrigin-RevId: 282194656 | |||
2019-11-23 | Merge release-20191114.0-25-gb0a1bbd (automated) | gVisor bot | |
2019-11-22 | Internal change. | Adin Scannell | |
PiperOrigin-RevId: 282068093 | |||
2019-11-22 | Merge release-20191114.0-23-g8eb6891 (automated) | gVisor bot | |
2019-11-22 | Store SO_BINDTODEVICE state at bind. | Ian Gudger | |
This allows us to ensure that the correct port reservation is released. Fixes #1217 PiperOrigin-RevId: 282048155 | |||
2019-11-22 | Merge release-20191114.0-22-g9db08c4 (automated) | gVisor bot | |
2019-11-22 | Use PacketBuffers with GSO. | Kevin Krakauer | |
PiperOrigin-RevId: 282045221 | |||
2019-11-22 | Merge release-20191114.0-21-gf27f38d (automated) | gVisor bot | |
2019-11-22 | Add segment dequeue check while emptying segment queue. | Mithun Iyer | |
PiperOrigin-RevId: 282023891 | |||
2019-11-22 | Merge release-20191114.0-20-g07635d2 (automated) | gVisor bot | |
2019-11-22 | enable ring0/pagetables to support arm64 | lubinszARM | |
Signed-off-by: Bin Lu <bin.lu@arm.com> COPYBARA_INTEGRATE_REVIEW=https://github.com/google/gvisor/pull/891 from lubinszARM:pr_pagetable 2385de75a8662af3ab1ae289dd74dd0e5dcfaf66 PiperOrigin-RevId: 282013224 | |||
2019-11-21 | Merge release-20191114.0-18-gc0f89eb (automated) | gVisor bot | |
2019-11-21 | Import and structure cleanup. | Adin Scannell | |
PiperOrigin-RevId: 281795269 | |||
2019-11-20 | Merge release-20191114.0-16-g012102e (automated) | gVisor bot | |
2019-11-20 | Pass OpenTruncate to gofer in Open call when opening file with O_TRUNC. | Nicolas Lacasse | |
Note that the Sentry still calls Truncate() on the file before calling Open. A new p9 version check was added to ensure that the p9 server can handle the the OpenTruncate flag. If not, then the flag is stripped before sending. PiperOrigin-RevId: 281609112 | |||
2019-11-19 | Merge release-20191114.0-15-gef6f936 (automated) | gVisor bot | |
2019-11-18 | Add vfs.GenericParseMountOptions(). | Jamie Liu | |
Equivalent to fs.GenericMountSourceOptions(). PiperOrigin-RevId: 281179287 | |||
2019-11-18 | Merge release-20191114.0-14-g26b3341 (automated) | gVisor bot | |
2019-11-18 | platform/ptrace: use host.GetCPU instead of the getcpu syscall | Andrei Vagin | |
This should save ~200ns from switchToApp (on ptrace too). // mpratt PiperOrigin-RevId: 281159895 | |||
2019-11-18 | Merge release-20191114.0-13-g235a96c (automated) | gVisor bot | |
2019-11-18 | Merge pull request #1177 from xiaobo55x:fs_host | gVisor bot | |
PiperOrigin-RevId: 281112758 | |||
2019-11-16 | Merge release-20191104.0-48-g5107e6b (automated) | gVisor bot | |
2019-11-15 | Automated rollback of changelist 280594395 | Bhasker Hariharan | |
PiperOrigin-RevId: 280763655 | |||
2019-11-15 | Merge release-20191104.0-47-g3e534f2 (automated) | gVisor bot | |
2019-11-15 | Handle in-flight TCP segments when moving to CLOSE. | Mithun Iyer | |
As we move to CLOSE state from LAST-ACK or TIME-WAIT, ensure that we re-match all in-flight segments to any listening endpoint. Also fix LISTEN state handling of any ACK segments as per RFC793. Fixes #1153 PiperOrigin-RevId: 280703556 | |||
2019-11-15 | Merge release-20191104.0-46-g76039f8 (automated) | gVisor bot | |
2019-11-15 | Do not set finalizer on p9.ClientFile. | Jamie Liu | |
Aside from the performance hit, there is no guarantee that p9.ClientFile's finalizer runs before the associated p9.Client is closed. PiperOrigin-RevId: 280702509 | |||
2019-11-15 | Merge release-20191104.0-45-g23574b1 (automated) | gVisor bot | |
2019-11-14 | Fix panic when logging raw packets via sniffer. | Kevin Krakauer | |
Sniffer assumed that outgoing packets have transport headers, but users can write packets via SOCK_RAW with arbitrary transport headers that netstack doesn't know about. We now explicitly check for the presence of network and transport headers before assuming they exist. PiperOrigin-RevId: 280594395 | |||
2019-11-15 | Merge release-20191104.0-44-gaf323eb (automated) | gVisor bot | |
2019-11-14 | Fix return codes for {get,set}sockopt for some nullptr cases. | Ting-Yu Wang | |
Updates #1092 PiperOrigin-RevId: 280547239 | |||
2019-11-15 | Merge release-20191104.0-43-g339536d (automated) | gVisor bot | |
2019-11-14 | Check that a file is a regular file with open(O_TRUNC). | Kevin Krakauer | |
It was possible to panic the sentry by opening a cache revalidating folder with O_TRUNC|O_CREAT. Avoids breaking php tests. PiperOrigin-RevId: 280533213 | |||
2019-11-14 | Merge release-20191104.0-41-g9ca15db (automated) | gVisor bot | |
2019-11-14 | Avoid unnecessary slice allocation in usermem.BytesIO.blocksFromAddrRanges(). | Jamie Liu | |
PiperOrigin-RevId: 280507239 | |||
2019-11-14 | Merge release-20191104.0-40-g3f7d937 (automated) | gVisor bot | |
2019-11-14 | Use PacketBuffers for outgoing packets. | Kevin Krakauer | |
PiperOrigin-RevId: 280455453 | |||
2019-11-13 | Merge release-20191104.0-38-g6dd4c9e (automated) | gVisor bot | |
2019-11-13 | Fix flaky behaviour during S/R. | Bhasker Hariharan | |
PiperOrigin-RevId: 280280156 | |||
2019-11-13 | Merge release-20191104.0-36-gc2d3dc0 (automated) | gVisor bot | |
2019-11-12 | Use overlay MountSource when binding socket in overlay. | Nicolas Lacasse | |
PiperOrigin-RevId: 280131840 | |||
2019-11-13 | Fix some build errors on arm64. | Haibo Xu | |
Initialize the VDSO "os" and "arch" fields explicitly, or the VDSO load process would failed on arm64 platform. Signed-off-by: Haibo Xu <haibo.xu@arm.com> Change-Id: Ic6768df88e43cd7c7956eb630511672ae11ac52f | |||
2019-11-13 | Enable sentry/fs/host support on arm64. | Haibo Xu | |
newfstatat() syscall is not supported on arm64, so we resort to use the fstatat() syscall. Signed-off-by: Haibo Xu <haibo.xu@arm.com> Change-Id: Iea95550ea53bcf85c01f7b3b95da70ad0952177d | |||
2019-11-13 | Merge release-20191104.0-34-gca9cba6 (automated) | gVisor bot | |
2019-11-12 | seccomp: introduce the GreaterThan rule type | Andrei Vagin | |
PiperOrigin-RevId: 280075805 | |||
2019-11-12 | Merge release-20191104.0-33-g3f51bef (automated) | gVisor bot | |
2019-11-12 | Do not handle TCP packets that include a non-unicast IP address | Ghanan Gowripalan | |
This change drops TCP packets with a non-unicast IP address as the source or destination address as TCP is meant for communication between two endpoints. Test: Make sure that if the source or destination address contains a non-unicast address, no TCP packet is sent in response and the packet is dropped. PiperOrigin-RevId: 280073731 | |||
2019-11-12 | Merge release-20190806.1-397-g5398530 (automated) | gVisor bot | |