Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-04-13 | Merge release-20210408.0-26-ge5f58e89b (automated) | gVisor bot | |
2021-04-12 | Make AsSockAddr() to replace reinterpret_cast<sockaddr*> | Ting-Yu Wang | |
It's a common pattern in test code to reinterpret_cast<sockaddr*> from sockaddr_* structs. Make AsSockAddr() for them so code looks better. Note: Why not a wrapper type for `sockaddr_storage` and etc? It's also a common need to have a local in-out variable of socklen_t. Creating a wrapper type may however lead to this wrong code: Wrapper addr; socklen_t addrlen = sizeof(addr); where sizeof(Wrapper) may not equal to sizeof(sockaddr_storage). PiperOrigin-RevId: 368126229 | |||
2021-04-13 | Merge release-20210408.0-25-g90900e4f8 (automated) | gVisor bot | |
2021-04-12 | Don't mark exported PRs as stale. | Ian Lewis | |
PiperOrigin-RevId: 368121539 | |||
2021-04-12 | Merge release-20210408.0-24-gc4c6a71fb (automated) | gVisor bot | |
2021-04-12 | Add DecRef for verity FDs that were missing | Chong Cai | |
Some FileDescriptions in verity fs were opened but DecRef() were missing after used. This could result in a ref leak. PiperOrigin-RevId: 368096759 | |||
2021-04-12 | Merge release-20210408.0-23-gf4f6ce337 (automated) | gVisor bot | |
2021-04-12 | Don't grab TaskSet mu recursively when reading task state. | Rahat Mahmood | |
Reported-by: syzbot+a6ef0f95a2c9e7da26f3@syzkaller.appspotmail.com Reported-by: syzbot+2eaf8a9f115edec468fe@syzkaller.appspotmail.com PiperOrigin-RevId: 368093861 | |||
2021-04-12 | Merge release-20210408.0-22-g982fc8b57 (automated) | gVisor bot | |
2021-04-12 | [op] Use faster go_marshal methods in netfilter. | Ayush Ranjan | |
Use MarshalUnsafe for packed types as it is faster than MarshalBytes. PiperOrigin-RevId: 368076368 | |||
2021-04-12 | Merge release-20210408.0-21-ga804b42fe (automated) | gVisor bot | |
2021-04-12 | Drop locks before calling waiterQueue.Notify | Tamir Duberstein | |
Holding this lock can cause the user's callback to deadlock if it attempts to inspect the accept queue. PiperOrigin-RevId: 368068334 | |||
2021-04-12 | Merge release-20210408.0-20-g9c87ef53f (automated) | gVisor bot | |
2021-04-12 | Add /etc/containerd/runsc.toml to conffiles attribute. | Adin Scannell | |
Fixes #5817 PiperOrigin-RevId: 368060056 | |||
2021-04-10 | Merge release-20210408.0-19-gc84ff9912 (automated) | gVisor bot | |
2021-04-10 | Use the SecureRNG to generate listener nonces | Tamir Duberstein | |
Some other cleanup while I'm here: - Remove unused arguments - Handle some unhandled errors - Remove redundant casts - Remove redundant parens - Avoid shadowing `hash` package name PiperOrigin-RevId: 367816161 | |||
2021-04-10 | Merge release-20210408.0-18-g2fea7d096 (automated) | gVisor bot | |
2021-04-10 | Don't store accepted endpoints in a channel | Tamir Duberstein | |
Use a linked list with cached length and capacity. The current channel is already composed with a mutex and condition variable, and is never used for its channel-like properties. Channels also require eager allocation equal to their capacity, which a linked list does not. PiperOrigin-RevId: 367766626 | |||
2021-04-10 | Merge release-20210408.0-17-gd1edabdca (automated) | gVisor bot | |
2021-04-09 | iptables: support postrouting hook and SNAT target | Toshi Kikuchi | |
The current SNAT implementation has several limitations: - SNAT source port has to be specified. It is not optional. - SNAT source port range is not supported. - SNAT for UDP is a one-way translation. No response packets are handled (because conntrack doesn't support UDP currently). - SNAT and REDIRECT can't work on the same connection. Fixes #5489 PiperOrigin-RevId: 367750325 | |||
2021-04-10 | Merge release-20210408.0-16-gea7faa505 (automated) | gVisor bot | |
2021-04-09 | Return integrity failure only if enabled | Chong Cai | |
If the parent is not enabled in verity stepLocked(), failure to find the child dentry could just mean an incorrect path. PiperOrigin-RevId: 367733412 | |||
2021-04-10 | Merge release-20210408.0-15-g7420821a7 (automated) | gVisor bot | |
2021-04-09 | Merge pull request #5767 from avagin:mxcsr | gVisor bot | |
PiperOrigin-RevId: 367730917 | |||
2021-04-09 | Merge release-20210408.0-13-gdc8f6c691 (automated) | gVisor bot | |
2021-04-09 | Move maxListenBacklog check to sentry | Mithun Iyer | |
Move maxListenBacklog check to the caller of endpoint Listen so that it is applicable to Unix domain sockets as well. This was changed in cl/366935921. Reported-by: syzbot+a35ae7cdfdde0c41cf7a@syzkaller.appspotmail.com PiperOrigin-RevId: 367728052 | |||
2021-04-09 | Merge release-20210408.0-12-g973ace6bd (automated) | gVisor bot | |
2021-04-09 | Rename IsV6LinkLocalAddress to IsV6LinkLocalUnicastAddress | Ghanan Gowripalan | |
To match the V4 variant. PiperOrigin-RevId: 367691981 | |||
2021-04-09 | Merge release-20210408.0-11-g070b76fe7 (automated) | gVisor bot | |
2021-04-09 | Remove duplicate accept queue fullness check | Tamir Duberstein | |
Both code paths perform this check; extract it and remove the comment that suggests it is unique to one of the paths. PiperOrigin-RevId: 367666160 | |||
2021-04-09 | Merge release-20210408.0-10-g1fe5dd8c6 (automated) | gVisor bot | |
2021-04-09 | Propagate SYN handling error | Tamir Duberstein | |
Both callers of this function still drop this error on the floor, but progress is progress. Updates #4690. PiperOrigin-RevId: 367604788 | |||
2021-04-09 | Merge release-20210408.0-9-gedf30a9bc (automated) | gVisor bot | |
2021-04-08 | Set root dentry and hash for verity before verify | Chong Cai | |
Set root dentry and root hash in verity fs before we verify the root directory if a root hash is provided. These are used during verification. PiperOrigin-RevId: 367547346 | |||
2021-04-09 | Merge release-20210408.0-8-g496a3654e (automated) | gVisor bot | |
2021-04-08 | Set parent after child is verified | Chong Cai | |
We should only set parent after child is verified. Also, if the parent is set before verified, destroyLocked() will try to grab parent.dirMu, which may cause deadlock. PiperOrigin-RevId: 367543655 | |||
2021-04-08 | Merge release-20210322.0-63-gae019e39b (automated) | gVisor bot | |
2021-04-08 | Merge pull request #5736 from lubinszARM:pr_bblu_tlb_asid | gVisor bot | |
PiperOrigin-RevId: 367523491 | |||
2021-04-08 | Merge release-20210322.0-61-g091badcb9 (automated) | gVisor bot | |
2021-04-08 | Do not forward link-local packets | Ghanan Gowripalan | |
As per RFC 3927 section 7 and RFC 4291 section 2.5.6. Test: forward_test.TestMulticastForwarding PiperOrigin-RevId: 367519336 | |||
2021-04-08 | Merge release-20210322.0-60-g5ac79e154 (automated) | gVisor bot | |
2021-04-08 | Drop unused escapes information. | Adin Scannell | |
PiperOrigin-RevId: 367517305 | |||
2021-04-08 | Merge release-20210322.0-59-gffeb2a2f5 (automated) | gVisor bot | |
2021-04-08 | Add Children in merkletree generate | Chong Cai | |
This field was missing and should be provided. PiperOrigin-RevId: 367474481 | |||
2021-04-08 | Merge release-20210322.0-58-g9e4a1e31d (automated) | gVisor bot | |
2021-04-08 | Join all routers group when forwarding is enabled | Ghanan Gowripalan | |
See comments inline code for rationale. Test: ip_test.TestJoinLeaveAllRoutersGroup PiperOrigin-RevId: 367449434 | |||
2021-04-08 | Merge release-20210322.0-57-gcbf00d633 (automated) | gVisor bot | |
2021-04-08 | Clarify platform errors. | Adin Scannell | |
PiperOrigin-RevId: 367446222 | |||
2021-04-08 | Merge release-20210322.0-56-g192f20788 (automated) | gVisor bot | |
2021-04-08 | Merge release-20210322.0-55-g0e55b5745 (automated) | gVisor bot | |