Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-10-06 | Merge release-20210927.0-35-ge104c1c47 (automated) | gVisor bot | |
2021-10-05 | Merge pull request #6687 from zchee:atomicbitops-nosplit | gVisor bot | |
PiperOrigin-RevId: 401152818 | |||
2021-10-05 | Merge release-20210927.0-32-g84063e88c (automated) | gVisor bot | |
2021-10-05 | Add server implementation for sharedmem endpoints. | Bhasker Hariharan | |
PiperOrigin-RevId: 401088040 | |||
2021-10-05 | Merge release-20210927.0-31-g6f6cf522e (automated) | gVisor bot | |
2021-10-04 | Merge release-20210927.0-28-g6c1237da0 (automated) | gVisor bot | |
2021-10-04 | Reply to invalid ACKs even when accept queue is full | Arthur Sfez | |
Before checking if there is space in the accept queue, the listener should verify that the cookie is valid. If it is not, instead of silently dropping the packet, reply with an RST. Fixes #6683 PiperOrigin-RevId: 400807346 | |||
2021-10-04 | No split to assembly and noasm functions on atomicbitops package | Koichi Shiraishi | |
Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com> | |||
2021-10-02 | Merge release-20210921.0-58-g3bab5e566 (automated) | gVisor bot | |
2021-10-01 | Read lock when getting connections | Ghanan Gowripalan | |
We should avoid taking the write lock to avoid contention when looking for a packet's tracked connection. No need to reap timed out connections when looking for connections as the reaper (which runs periodically) will handle that. PiperOrigin-RevId: 400322514 | |||
2021-10-01 | Merge release-20210921.0-57-g51c4fbb84 (automated) | gVisor bot | |
2021-10-01 | Drop ConnTrack.handlePacket | Ghanan Gowripalan | |
Move the hook specific logic to the IPTables hook functions. This lets us avoid having to perform checks on the hook to determine what action to take. Later changes will drop the need for handlePacket's return value, reducing the value of this function that all hooks call into. PiperOrigin-RevId: 400298023 | |||
2021-10-01 | Merge release-20210921.0-56-g6e83c4b75 (automated) | gVisor bot | |
2021-10-01 | Drop conn.tcbHook | Ghanan Gowripalan | |
...as the packet's direction gives us the information that tcbHook is used to derive. PiperOrigin-RevId: 400280102 | |||
2021-10-01 | Merge release-20210921.0-55-g8603cce51 (automated) | gVisor bot | |
2021-10-01 | Annotate checklocks on mutex protected fields | Ghanan Gowripalan | |
...to catch lock-related bugs in nogo tests. Updates #6566. PiperOrigin-RevId: 400265818 | |||
2021-10-01 | Merge release-20210921.0-54-geac4d9ab2 (automated) | gVisor bot | |
2021-10-01 | Merge pull request #6551 from sudo-sturbia:msgqueue/procfs | gVisor bot | |
PiperOrigin-RevId: 400258924 | |||
2021-10-01 | Merge release-20210921.0-52-g788bbc290 (automated) | gVisor bot | |
2021-10-01 | Drop IPTables.checkPackets | Ghanan Gowripalan | |
...and have `CheckOutputPackets`, `CheckPostroutingPackets` call their equivalent methods that operate on a single packet buffer directly. This is so that the `Check{Output, Postrouting}Packets` methods may leverage any hook-specific work that `Check{Output, Postrouting}` may perform. Note: Later changes will add hook-specific logic to the `Check{Output, Postrouting}` methods. PiperOrigin-RevId: 400255651 | |||
2021-10-01 | Merge release-20210921.0-51-g807337000 (automated) | gVisor bot | |
2021-10-01 | Let connection handle tracked packets | Ghanan Gowripalan | |
...to save a call to `ConnTrack.connFor` when callers already have a reference to the ConnTrack entry. PiperOrigin-RevId: 400244955 | |||
2021-10-01 | Merge release-20210921.0-48-g0db2ab932 (automated) | gVisor bot | |
2021-10-01 | Move pendingEndpoints to acceptQueue | Tamir Duberstein | |
This obsoletes the need for the pendingMu and pending, since they are redundant with acceptMu and pendingAccepted. Fixes #6671. PiperOrigin-RevId: 400162391 | |||
2021-09-30 | Merge release-20210921.0-46-g9fff9469a (automated) | gVisor bot | |
2021-09-30 | kernel: print PID in addition to TID in task log messages | Andrei Vagin | |
For multithreads processes, it is hard to read logs without knowing task pids. And let's print a decimal return codeo for syscalls. A hex return code are usefull for system calls that return addresses. For other syscalls, the decimal form is more readable. PiperOrigin-RevId: 400035449 | |||
2021-09-29 | Merge release-20210921.0-42-gf4340b0c9 (automated) | gVisor bot | |
2021-09-29 | Avoid comparisons to zero value of acceptQueue | Tamir Duberstein | |
PiperOrigin-RevId: 399765414 | |||
2021-09-29 | Merge release-20210921.0-41-g36b36a8a7 (automated) | gVisor bot | |
2021-09-29 | Rename accepted -> acceptQueue | Tamir Duberstein | |
Rename cap -> capacity to avoid collision with the builtin. PiperOrigin-RevId: 399753630 | |||
2021-09-29 | Merge release-20210921.0-40-g5aa37994c (automated) | gVisor bot | |
2021-09-29 | Remove syncRcvdCount | Tamir Duberstein | |
This is redundant with listenContext.pendingEndpoints PiperOrigin-RevId: 399722472 | |||
2021-09-29 | Merge release-20210921.0-39-g65698b627 (automated) | gVisor bot | |
2021-09-28 | Move `safecopy.ReplaceSignalHandler` into `sighandling` package. | Etienne Perot | |
PiperOrigin-RevId: 399560357 | |||
2021-09-28 | Merge release-20210921.0-38-gfa4c30c63 (automated) | gVisor bot | |
2021-09-28 | Inline handleSynSegment | Tamir Duberstein | |
This function has only one caller. Remove segment reference count manipulation since it is only used synchronously. PiperOrigin-RevId: 399525343 | |||
2021-09-28 | Merge release-20210921.0-37-ged083bac4 (automated) | gVisor bot | |
2021-09-28 | Support naive Masquerade NAT target | Ghanan Gowripalan | |
* Does not accept a port range (Issue #5772). * Does not support checking for tuple conflits (Issue #5773). PiperOrigin-RevId: 399524088 | |||
2021-09-27 | Merge release-20210921.0-36-ge251f6cc5 (automated) | gVisor bot | |
2021-09-27 | Move `sighandling` package out of `sentry`. | Etienne Perot | |
PiperOrigin-RevId: 399295737 | |||
2021-09-27 | Merge release-20210921.0-35-gdc64617d5 (automated) | gVisor bot | |
2021-09-27 | Implement S/R for Stats | Tamir Duberstein | |
PiperOrigin-RevId: 399276940 | |||
2021-09-27 | Merge release-20210921.0-34-g1fe0a6691 (automated) | gVisor bot | |
2021-09-27 | Prevent PacketData from being modified. | Ayush Ranjan | |
PacketData should not be modified and should be treated readonly because it represents packet payload. The old DeleteFront method allowed callers to modify the underlying buffer which should not be allowed. Added a way to consume from the PacketData instead of deleting from it. Updated call points to use that instead. Reported-by: syzbot+faee5cb350f769a52d1b@syzkaller.appspotmail.com PiperOrigin-RevId: 399268473 | |||
2021-09-27 | Merge release-20210921.0-33-g455924ee1 (automated) | gVisor bot | |
2021-09-27 | Store pending endpoints in a set | Tamir Duberstein | |
There's no need for synthetic keys here. PiperOrigin-RevId: 399263134 | |||
2021-09-27 | Add procfs files for SysV message queues. | Zyad A. Ali | |
2021-09-24 | Merge release-20210921.0-30-ge3657847c (automated) | gVisor bot | |
2021-09-24 | Update the comment for Task.netns | Andrei Vagin | |
Task.netns can be accessed atomically, so Task.mu isn't needed to access it. PiperOrigin-RevId: 398773947 | |||
2021-09-24 | Merge release-20210921.0-29-gb510c9846 (automated) | gVisor bot | |