Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-12-28 | Merge release-20201208.0-89-g3ff7324df (automated) | gVisor bot | |
2020-12-17 | [netstack] Implement IP(V6)_RECVERR socket option. | Ayush Ranjan | |
PiperOrigin-RevId: 348055514 | |||
2020-12-17 | [netstack] Implement MSG_ERRQUEUE flag for recvmsg(2). | Ayush Ranjan | |
Introduces the per-socket error queue and the necessary cmsg mechanisms. PiperOrigin-RevId: 348028508 | |||
2020-12-15 | [netstack] Make recvmsg(2) call to host in hostinet even if dst is empty. | Ayush Ranjan | |
We want to make the recvmsg syscall to the host regardless of if the dst is empty or not so that: - Host can populate the control messages if necessary. - Host can return sender address. - Host can return appropriate errors. Earlier because we were using the IOSequence.CopyOutFrom() API, the usermem package does not even call the Reader function if the destination is empty (as an optimization). PiperOrigin-RevId: 347684566 | |||
2020-12-15 | Merge release-20201208.0-44-ga1c56bc22 (automated) | gVisor bot | |
2020-12-14 | [netstack] Update raw socket and hostinet control message parsing. | Ayush Ranjan | |
There are surprisingly few syscall tests that run with hostinet. For example running the following command only returns two results: `bazel query test/syscalls:all | grep hostnet` I think as a result, as our control messages evolved, hostinet was left behind. Update it to support all control messages netstack supports. This change also updates sentry's control message parsing logic to make it up to date with all the control messages we support. PiperOrigin-RevId: 347508892 | |||
2020-12-11 | Merge release-20201208.0-28-gaf4afdc0e (automated) | gVisor bot | |
2020-12-11 | [netstack] Decouple tcpip.ControlMessages from the IP control messges. | Ayush Ranjan | |
tcpip.ControlMessages can not contain Linux specific structures which makes it painful to convert back and forth from Linux to tcpip back to Linux when passing around control messages in hostinet and raw sockets. Now we convert to the Linux version of the control message as soon as we are out of tcpip. PiperOrigin-RevId: 347027065 | |||
2020-12-10 | Merge release-20201130.0-74-g92ca72ecb (automated) | gVisor bot | |
2020-12-09 | Add support for IP_RECVORIGDSTADDR IP option. | Bhasker Hariharan | |
Fixes #5004 PiperOrigin-RevId: 346643745 | |||
2020-10-27 | Merge release-20201019.0-68-g59e2c9f16 (automated) | gVisor bot | |
2020-10-27 | Add basic address deletion to netlink | Ian Lewis | |
Updates #3921 PiperOrigin-RevId: 339195417 | |||
2020-10-24 | Merge release-20201019.0-53-g8dfbec28a (automated) | gVisor bot | |
2020-10-23 | Fix nogo tests in //pkg/sentry/socket/... | Ting-Yu Wang | |
PiperOrigin-RevId: 338784921 | |||
2020-10-24 | Merge release-20201019.0-51-g9f87400f0 (automated) | gVisor bot | |
2020-10-23 | Support VFS2 save/restore. | Jamie Liu | |
Inode number consistency checks are now skipped in save/restore tests for reasons described in greatest detail in StatTest.StateDoesntChangeAfterRename. They pass in VFS1 due to the bug described in new test case SimpleStatTest.DifferentFilesHaveDifferentDeviceInodeNumberPairs. Fixes #1663 PiperOrigin-RevId: 338776148 | |||
2020-10-23 | Merge release-20201019.0-41-g6ee3520b6 (automated) | gVisor bot | |
2020-10-23 | [vfs] kernfs: Implement remaining InodeAttr fields. | Ayush Ranjan | |
Added the following fields in kernfs.InodeAttr: - blockSize - atime - mtime - ctime Also resolved all TODOs for #1193. Fixes #1193 PiperOrigin-RevId: 338714527 | |||
2020-10-08 | Merge release-20200928.0-66-ga55bd73d4 (automated) | gVisor bot | |
2020-09-29 | Merge release-20200921.0-66-g7d64bc1fd (automated) | gVisor bot | |
2020-09-29 | Merge pull request #3875 from btw616:fix/issue-3874 | gVisor bot | |
PiperOrigin-RevId: 334428344 | |||
2020-09-29 | Merge release-20200921.0-59-g028e045da (automated) | gVisor bot | |
2020-09-28 | Merge release-20200921.0-57-g237b761f9 (automated) | gVisor bot | |
2020-09-28 | Merge release-20200921.0-58-gba44298a3 (automated) | gVisor bot | |
2020-09-28 | Don't leak dentries returned by sockfs.NewDentry(). | Jamie Liu | |
PiperOrigin-RevId: 334263322 | |||
2020-09-24 | Fix socket record leak in VFS2 | Tiwei Bie | |
VFS2 socket record is not removed from the system-wide socket table when the socket is released, which will lead to a memory leak. This patch fixes this issue. Fixes: #3874 Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com> | |||
2020-09-21 | Merge release-20200907.0-157-gca3087472 (automated) | gVisor bot | |
2020-09-20 | Merge pull request #3651 from ianlewis:ip-forwarding | gVisor bot | |
PiperOrigin-RevId: 332760843 | |||
2020-09-17 | Merge release-20200907.0-129-g319d1b8ba (automated) | gVisor bot | |
2020-09-17 | Complete vfs2 implementation of fallocate. | Dean Deng | |
This change includes overlay, special regular gofer files, and hostfs. Fixes #3589. PiperOrigin-RevId: 332330860 | |||
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-08-17 | Merge branch 'master' into ip-forwarding | Ian Lewis | |
- Merges aleksej-paschenko's with HEAD - Adds vfs2 support for ip_forward | |||
2020-08-06 | Merge release-20200804.0-27-g35312a95c (automated) | gVisor bot | |
2020-08-05 | Add loss recovery option for TCP. | Nayana Bidari | |
/proc/sys/net/ipv4/tcp_recovery is used to enable RACK loss recovery in TCP. PiperOrigin-RevId: 325157807 | |||
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-24 | Merge release-20200622.1-214-g5e7ae0476 (automated) | gVisor bot | |
2020-07-23 | Merge pull request #3142 from tanjianfeng:fix-3141 | gVisor bot | |
PiperOrigin-RevId: 322937495 | |||
2020-07-23 | Merge release-20200622.1-195-g6f7f73996 (automated) | gVisor bot | |
2020-07-23 | Marshallable socket opitons. | Ayush Ranjan | |
Socket option values are now required to implement marshal.Marshallable. Co-authored-by: Rahat Mahmood <rahat@google.com> PiperOrigin-RevId: 322831612 | |||
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-06 | hostinet: fix not specifying family field | Jianfeng Tan | |
Creating sockets by hostinet with VFS2 fails due to triggerring a seccomp violation. In essence, we fails to pass down the field of family. We fix this by passing down this field, family. Fixes #3141 Signed-off-by: Jianfeng Tan <henry.tjf@antfin.com> | |||
2020-07-01 | Merge release-20200622.1-52-g6a90c88b9 (automated) | gVisor bot | |
2020-07-01 | Port fallocate to VFS2. | Zach Koopmans | |
PiperOrigin-RevId: 319283715 | |||
2020-06-24 | Merge release-20200608.0-119-g364ac92ba (automated) | gVisor bot | |
2020-06-18 | Merge release-20200608.0-83-g3970c1274 (automated) | gVisor bot | |
2020-06-18 | Remove various uses of 'whitelist' | Michael Pratt | |
Updates #2972 PiperOrigin-RevId: 317113059 | |||
2020-06-17 | Merge release-20200608.0-69-g96519e2c9 (automated) | gVisor bot | |