Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-07-23 | Merge release-20200622.1-191-g36257e6b7 (automated) | gVisor bot | |
2020-07-23 | Merge release-20200622.1-189-g14839e027 (automated) | gVisor bot | |
2020-07-23 | Merge release-20200622.1-188-gc9399797d (automated) | gVisor bot | |
2020-07-22 | iptables: don't NAT existing connections | Kevin Krakauer | |
Fixes a NAT bug that manifested as: - A SYN was sent from gVisor to another host, unaffected by iptables. - The corresponding SYN/ACK was NATted by a PREROUTING REDIRECT rule despite being part of the existing connection. - The socket that sent the SYN never received the SYN/ACK and thus a connection could not be established. We handle this (as Linux does) by tracking all connections, inserting a no-op conntrack rule for new connections with no rules of their own. Needed for istio support (#170). | |||
2020-07-22 | Merge release-20200622.1-187-gbd98f8201 (automated) | gVisor bot | |
2020-07-22 | iptables: replace maps with arrays | Kevin Krakauer | |
For iptables users, Check() is a hot path called for every packet one or more times. Let's avoid a bunch of map lookups. PiperOrigin-RevId: 322678699 | |||
2020-07-22 | Merge release-20200622.1-186-g9654bf04a (automated) | gVisor bot | |
2020-07-22 | [vfs2][tmpfs] Implement O_APPEND | Ayush Ranjan | |
Updates #2923 PiperOrigin-RevId: 322671489 | |||
2020-07-22 | Merge release-20200622.1-185-g39525d64c (automated) | gVisor bot | |
2020-07-22 | Add O_APPEND support in vfs2 gofer. | Ayush Ranjan | |
Helps in fixing open syscall tests: AppendConcurrentWrite and AppendOnly. We also now update the file size for seekable special files (regular files) which we were not doing earlier. Updates #2923 PiperOrigin-RevId: 322670843 | |||
2020-07-22 | Merge release-20200622.1-184-g71bf90c55 (automated) | gVisor bot | |
2020-07-22 | Support for receiving outbound packets in AF_PACKET. | Bhasker Hariharan | |
Updates #173 PiperOrigin-RevId: 322665518 | |||
2020-07-22 | Merge release-20200622.1-183-g13c0cca50 (automated) | gVisor bot | |
2020-07-21 | Merge release-20200622.1-182-ge1a04f84e (automated) | gVisor bot | |
2020-07-20 | Add standard entrypoints for test targets. | Adin Scannell | |
PiperOrigin-RevId: 322265513 | |||
2020-07-18 | Merge release-20200622.1-181-gfeb1d3d5a (automated) | gVisor bot | |
2020-07-18 | Merge release-20200622.1-180-g5593320be (automated) | gVisor bot | |
2020-07-18 | Merge release-20200622.1-179-g40acd22bc (automated) | gVisor bot | |
2020-07-17 | Merge release-20200622.1-178-ge3c2bd51a (automated) | gVisor bot | |
2020-07-17 | Merge release-20200622.1-177-g03c30ec63 (automated) | gVisor bot | |
2020-07-17 | Merge release-20200622.1-176-g40826b055 (automated) | gVisor bot | |
2020-07-17 | Merge release-20200622.1-175-gc0ee95198 (automated) | gVisor bot | |
2020-07-17 | Merge release-20200622.1-174-g7e226c807 (automated) | gVisor bot | |
2020-07-17 | Merge release-20200622.1-173-gdcf6ddc27 (automated) | gVisor bot | |
2020-07-16 | Add support to return protocol in recvmsg for AF_PACKET. | Bhasker Hariharan | |
Updates #173 PiperOrigin-RevId: 321690756 | |||
2020-07-16 | Merge release-20200622.1-172-ge6894cb99 (automated) | gVisor bot | |
2020-07-16 | Merge release-20200622.1-171-gc66991ad7 (automated) | gVisor bot | |
2020-07-16 | Add ethernet broadcast address constant | Ghanan Gowripalan | |
PiperOrigin-RevId: 321620517 | |||
2020-07-16 | Merge release-20200622.1-170-g0a745cb34 (automated) | gVisor bot | |
2020-07-15 | Merge pull request #3236 from craig08:fuse-kernfs-inode-stat-add-ctx | gVisor bot | |
PiperOrigin-RevId: 321496734 | |||
2020-07-16 | Merge release-20200622.1-168-g5c8c0d65b (automated) | gVisor bot | |
2020-07-15 | Merge release-20200622.1-167-ge92f38ff0 (automated) | gVisor bot | |
2020-07-15 | iptables: remove check for NetworkHeader | Kevin Krakauer | |
This is no longer necessary, as we always set NetworkHeader before calling iptables.Check. PiperOrigin-RevId: 321461978 | |||
2020-07-15 | Merge release-20200622.1-166-gbdbab2702 (automated) | gVisor bot | |
2020-07-15 | Merge release-20200622.1-164-gdb653bb34 (automated) | gVisor bot | |
2020-07-15 | Merge release-20200622.1-163-g857d03f25 (automated) | gVisor bot | |
2020-07-15 | fdbased: Vectorized write for packet; relax writev syscall filter. | Ting-Yu Wang | |
Now it calls pkt.Data.ToView() when writing the packet. This may require copying when the packet is large, which puts the worse case in an even worse situation. This sent out in a separate preparation change as it requires syscall filter changes. This change will be followed by the change for the adoption of the new PacketHeader API. PiperOrigin-RevId: 321447003 | |||
2020-07-15 | Add support for SO_ERROR to packet sockets. | Bhasker Hariharan | |
Packet sockets also seem to allow double binding and do not return an error on linux. This was tested by running the syscall test in a linux namespace as root and the current test DoubleBind fails@HEAD. Passes after this change. Updates #173 PiperOrigin-RevId: 321445137 | |||
2020-07-15 | Merge release-20200622.1-162-gfef90c61c (automated) | gVisor bot | |
2020-07-15 | Fix minor bugs in a couple of interface IOCTLs. | Bhasker Hariharan | |
gVisor incorrectly returns the wrong ARP type for SIOGIFHWADDR. This breaks tcpdump as it tries to interpret the packets incorrectly. Similarly, SIOCETHTOOL is used by tcpdump to query interface properties which fails with an EINVAL since we don't implement it. For now change it to return EOPNOTSUPP to indicate that we don't support the query rather than return EINVAL. NOTE: ARPHRD types for link endpoints are distinct from NIC capabilities and NIC flags. In Linux all 3 exist eg. ARPHRD types are stored in dev->type field while NIC capabilities are more like the device features which can be queried using SIOCETHTOOL but not modified and NIC Flags are fields that can be modified from user space. eg. NIC status (UP/DOWN/MULTICAST/BROADCAST) etc. Updates #2746 PiperOrigin-RevId: 321436525 | |||
2020-07-15 | Merge release-20200622.1-160-g8939fae0a (automated) | gVisor bot | |
2020-07-15 | Merge pull request #3165 from ridwanmsharif:ridwanmsharif/fuse-off-by-default | gVisor bot | |
PiperOrigin-RevId: 321411758 | |||
2020-07-15 | Merge release-20200622.1-158-gfc48ace73 (automated) | gVisor bot | |
2020-07-15 | hostinet: fix fd leak in fdnotifier for VFS2 | Tiwei Bie | |
When we failed to create the new socket after adding the fd to fdnotifier, we should remove the fd from fdnotifier, because we are going to close the fd directly. Fixes: #3241 Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com> | |||
2020-07-15 | Merge release-20200622.1-156-g1b9965e06 (automated) | gVisor bot | |
2020-07-14 | Update special file option name in comment. | Dean Deng | |
PiperOrigin-RevId: 321269281 | |||
2020-07-14 | Include context in kernfs.Inode.Stat method | Craig Chi | |
To implement stat(2) in FUSE, we have to embed credentials and pid in request header. The information should be extracted from the context passed to VFS layer. Therefore `Stat()` signature in `kernfs.Inode` interface should include context as first argument. Some other fs implementations need to be modified as well, such as devpts, host, pipefs, and proc. Fixes #3235 | |||
2020-07-13 | Merge pull request #3200 from lubinszARM:pr_kvm_ut_1 | gVisor bot | |
PiperOrigin-RevId: 321060717 | |||
2020-07-13 | Merge release-20200622.1-148-gc81ac8ec3 (automated) | gVisor bot | |
2020-07-13 | Merge pull request #2672 from amscanne:shim-integrated | gVisor bot | |
PiperOrigin-RevId: 321053634 |