Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-10-01 | Use root context to mount volumes | Fabricio Voznika | |
Fixes #6643 PiperOrigin-RevId: 400218778 | |||
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-10-01 | Merge release-20210921.0-47-g84f1578e9 (automated) | gVisor bot | |
2021-09-30 | Test syn and accept queue behavior on shutdown | Tamir Duberstein | |
Enhance the backlog test to exercise the syn queue. Updates #6671. PiperOrigin-RevId: 400094530 | |||
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-30 | Merge release-20210921.0-45-gc12266354 (automated) | gVisor bot | |
2021-09-30 | Skip analysis of standard library packages using generics | Michael Pratt | |
The upstream analysis packages we depend on do not yet support analysis of code using Go 1.18 type parameter features, making analysis of the Go tip standard library choke and crash. Skip these packages for now. PiperOrigin-RevId: 400030256 | |||
2021-09-30 | Merge release-20210921.0-44-gb4d4f4bd8 (automated) | gVisor bot | |
2021-09-30 | Add timer_create and timer_settime to filters | Michael Pratt | |
Go 1.18 (as of golang.org/cl/324129) uses per-thread timers created and set with timer_create/timer_settime for more accurate CPU pprof profiling. Add these syscalls to the allowed syscall filters. PiperOrigin-RevId: 399941561 | |||
2021-09-30 | Merge release-20210921.0-43-gdb88937ab (automated) | gVisor bot | |
2021-09-29 | Setup sniffer teardown earlier | Tamir Duberstein | |
This prevents an iptables failure from deadlocking the test. PiperOrigin-RevId: 399822238 | |||
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-28 | Implement stubs for mq_open(2) and mq_unlink(2). | Zyad A. Ali | |
Support mq_open and mq_unlink, and enable syscall tests. Updates #136 | |||
2021-09-28 | Implement Registry.Remove. | Zyad A. Ali | |
Remove implements the behaviour of mq_unlink(2). Updates #136 | |||
2021-09-28 | Use one mutex for both Registry and RegistryImpl. | Zyad A. Ali | |
Updates #136 | |||
2021-09-28 | Implement Registry.FindOrCreate. | Zyad A. Ali | |
FindOrCreate implements the behaviour of mq_open(2). Updates #136 | |||
2021-09-28 | Return FDs in RegistryImpl functions and use Views. | Zyad A. Ali | |
Update RegistryImpl functions to return file descriptions, instead of queues, and use Views in queue inodes. Updates #136 | |||
2021-09-28 | Define mq.View and use it for mqfs.queueFD. | Zyad A. Ali | |
View makes it easier to handle O_RDONLY, O_WRONLY, and ORDWR options in mq_open(2). Updates #136 | |||
2021-09-28 | Register mqfs.FilesystemType | Zyad A. Ali | |
Updates #136 | |||
2021-09-28 | Initialize POSIX queues' registry after creating a new IPCNamespace. | Zyad A. Ali | |
Updates #136 | |||
2021-09-28 | Move filesystem creation from GetFilesystem to RegistryImpl. | Zyad A. Ali | |
Move root dentry and filesystem creation from GetFilesystem to NewRegistryImpl, create IPCNamespace.InitPosixQueues to create a new mqueue filesystem for each ipc namespace, and update GetFilesystem to retreive fs and root dentry from IPCNamespace and return them. Updates #136 | |||
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-27 | Minor documentation wording change | Nick Kelley | |
2021-09-25 | Merge release-20210921.0-32-g2e25547e0 (automated) | gVisor bot | |
2021-09-24 | Merge pull request #6570 from sudo-sturbia:ipc/proc | gVisor bot | |
PiperOrigin-RevId: 398849334 | |||
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 | |
2021-09-24 | Merge pull request #6647 from avagin:task-netns | gVisor bot | |
PiperOrigin-RevId: 398763161 |