Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-02-10 | Merge release-20210201.0-72-g298c129cc (automated) | gVisor bot | |
2021-02-09 | Add support for setting SO_SNDBUF for unix domain sockets. | Bhasker Hariharan | |
The limits for snd/rcv buffers for unix domain socket is controlled by the following sysctls on linux - net.core.rmem_default - net.core.rmem_max - net.core.wmem_default - net.core.wmem_max Today in gVisor we do not expose these sysctls but we do support setting the equivalent in netstack via stack.Options() method. But AF_UNIX sockets in gVisor can be used without netstack, with hostinet or even without any networking stack at all. Which means ideally these sysctls need to live as globals in gVisor. But rather than make this a big change for now we hardcode the limits in the AF_UNIX implementation itself (which in itself is better than where we were before) where it SO_SNDBUF was hardcoded to 16KiB. Further we bump the initial limit to a default value of 208 KiB to match linux from the paltry 16 KiB we use today. Updates #5132 PiperOrigin-RevId: 356665498 | |||
2021-02-09 | Merge release-20210201.0-65-g2b978d874 (automated) | gVisor bot | |
2021-02-09 | Collapse code that always returns error | Tamir Duberstein | |
PiperOrigin-RevId: 356536548 | |||
2021-01-29 | Merge release-20210125.0-21-g8d1afb418 (automated) | gVisor bot | |
2021-01-28 | Change tcpip.Error to an interface | Tamir Duberstein | |
This makes it possible to add data to types that implement tcpip.Error. ErrBadLinkEndpoint is removed as it is unused. PiperOrigin-RevId: 354437314 | |||
2020-12-28 | Merge release-20201208.0-89-g3ff7324df (automated) | gVisor bot | |
2020-12-23 | vfs1: don't allow to open socket files | Andrei Vagin | |
open() has to return ENXIO in this case. O_PATH isn't supported by vfs1. PiperOrigin-RevId: 348820478 | |||
2020-10-08 | Merge release-20200928.0-66-ga55bd73d4 (automated) | gVisor bot | |
2020-09-12 | Merge release-20200907.0-37-g3ca73841d (automated) | gVisor bot | |
2020-09-11 | Move the 'marshal' and 'primitive' packages to the 'pkg' directory. | Rahat Mahmood | |
PiperOrigin-RevId: 331256608 | |||
2020-09-11 | Merge release-20200810.0-237-g8d0f76dda (automated) | gVisor bot | |
2020-09-11 | Merge release-20200907.0-36-g1f4fb817c (automated) | gVisor bot | |
2020-09-11 | Merge release-20200810.0-236-gb8bee78d0 (automated) | gVisor bot | |
2020-09-11 | Merge release-20200907.0-32-g831ab2dd9 (automated) | gVisor bot | |
2020-09-11 | Fix host unix socket to not swallow EOF incorrectly. | Bhasker Hariharan | |
Fixes an error where in case of a receive buffer larger than the host send buffer size for a host backed unix dgram socket we would end up swallowing EOF from recvmsg syscall causing the read() to block forever. PiperOrigin-RevId: 331192810 | |||
2020-09-09 | Refactor tty codebase to use master-replica terminology. | Ayush Ranjan | |
Updates #2972 PiperOrigin-RevId: 329584905 | |||
2020-09-09 | [go-marshal] Enable auto-marshalling for host tty. | Ayush Ranjan | |
PiperOrigin-RevId: 328415633 | |||
2020-09-01 | Merge release-20200818.0-102-g2eaf54dd5 (automated) | gVisor bot | |
2020-09-01 | Refactor tty codebase to use master-replica terminology. | Ayush Ranjan | |
Updates #2972 PiperOrigin-RevId: 329584905 | |||
2020-08-25 | Merge release-20200818.0-52-g430487c9e (automated) | gVisor bot | |
2020-08-25 | [go-marshal] Enable auto-marshalling for host tty. | Ayush Ranjan | |
PiperOrigin-RevId: 328415633 | |||
2020-08-19 | Move ERESTART* error definitions to syserror package. | Dean Deng | |
This is needed to avoid circular dependencies between the vfs and kernel packages. PiperOrigin-RevId: 327355524 | |||
2020-08-19 | Merge release-20200810.0-57-gf2822da54 (automated) | gVisor bot | |
2020-08-18 | Move ERESTART* error definitions to syserror package. | Dean Deng | |
This is needed to avoid circular dependencies between the vfs and kernel packages. PiperOrigin-RevId: 327355524 | |||
2020-08-03 | Merge release-20200622.1-313-gb2ae7ea1b (automated) | gVisor bot | |
2020-08-03 | Plumbing context.Context to DecRef() and Release(). | Nayana Bidari | |
context is passed to DecRef() and Release() which is needed for SO_LINGER implementation. PiperOrigin-RevId: 324672584 | |||
2020-07-15 | Merge release-20200622.1-164-gdb653bb34 (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-06-24 | Merge release-20200608.0-119-g364ac92ba (automated) | gVisor bot | |
2020-06-17 | Merge release-20200608.0-72-g6d806ee71 (automated) | gVisor bot | |
2020-06-17 | Remove various uses of 'blacklist' | Michael Pratt | |
Updates #2972 PiperOrigin-RevId: 316942245 | |||
2020-06-11 | Merge release-20200522.0-141-g4f111b638 (automated) | gVisor bot | |
2020-06-11 | Merge pull request #2863 from lubinszARM:pr_sndbuf | gVisor bot | |
PiperOrigin-RevId: 315991648 | |||
2020-06-10 | Deleting the maxSendBufferSize from fs/host | Bin Lu | |
When I do high-performance networking, the value of wmem_max is often set very high, specially for 10/25/50 Gigabit NIC. I think maybe this restriction is not suitable. Signed-off-by: Bin Lu <bin.lu@arm.com> | |||
2020-06-09 | Merge release-20200522.0-106-g6722b1e56 (automated) | gVisor bot | |
2020-06-09 | Don't WriteOut to readonly mounts | Fabricio Voznika | |
When the file closes, it attempts to write dirty cached attributes to the file. This should not be done when the mount is readonly. PiperOrigin-RevId: 315585058 | |||
2020-05-27 | Merge release-20200518.0-45-g0bc022b7 (automated) | gVisor bot | |
2020-05-07 | Merge release-20200422.0-51-g1f4087e (automated) | gVisor bot | |
2020-04-27 | Merge release-20200413.0-7-g1c2ecbb (automated) | gVisor bot | |
2020-04-27 | Import host sockets. | Dean Deng | |
The FileDescription implementation for hostfs sockets uses the standard Unix socket implementation (unix.SocketVFS2), but is also tied to a hostfs dentry. Updates #1672, #1476 PiperOrigin-RevId: 308716426 | |||
2020-04-24 | Merge release-20200323.0-239-gf13f26d (automated) | gVisor bot | |
2020-04-24 | Port SCM Rights to VFS2. | Dean Deng | |
Fixes #1477. PiperOrigin-RevId: 308317511 | |||
2020-04-10 | Merge release-20200323.0-119-g7812661 (automated) | gVisor bot | |
2020-04-09 | Merge pull request #2253 from amscanne:nogo | gVisor bot | |
PiperOrigin-RevId: 305807868 | |||
2020-04-09 | Merge release-20200323.0-96-g981a587 (automated) | gVisor bot | |
2020-04-08 | Remove InodeOperations FIXMEs that will be obsoleted by VFS2. | Dean Deng | |
PiperOrigin-RevId: 305588941 | |||
2020-04-08 | Fix all copy locks violations. | Adin Scannell | |
This required minor restructuring of how system call tables were saved and restored, but it makes way more sense this way. Updates #2243 | |||
2020-03-26 | Merge release-20200219.0-251-g137f361 (automated) | gVisor bot | |
2020-03-26 | Use host-defined file owner and mode, when possible, for imported fds. | Dean Deng | |
Using the host-defined file owner matches VFS1. It is more correct to use the host-defined mode, since the cached value may become out of date. However, kernfs.Inode.Mode() does not return an error--other filesystems on kernfs are in-memory so retrieving mode should not fail. Therefore, if the host syscall fails, we rely on a cached value instead. Updates #1672. PiperOrigin-RevId: 303220864 |