Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-02-11 | Merge release-20210201.0-87-gc833eed80 (automated) | gVisor bot | |
2021-02-11 | Implement semtimedop. | Jing Chen | |
PiperOrigin-RevId: 357031904 | |||
2021-02-09 | Merge release-20210201.0-56-ge51f775cb (automated) | gVisor bot | |
2021-02-08 | [go-marshal] Remove binary package reference from syscalls package. | Ayush Ranjan | |
Fixes a bug in our getsockopt(2) implementation which was incorrectly using binary.Size() instead of Marshallable.SizeBytes(). PiperOrigin-RevId: 356396551 | |||
2021-02-02 | Merge release-20210125.0-60-gd6d169320 (automated) | gVisor bot | |
2021-02-02 | Add ETIMEDOUT to partial result list | Fabricio Voznika | |
Reported-by: syzbot+db8d83f93b84fcb84374@syzkaller.appspotmail.com PiperOrigin-RevId: 355213994 | |||
2021-01-28 | Merge release-20210125.0-15-gd8c330254 (automated) | gVisor bot | |
2021-01-28 | Add O_PATH support in vfs2 | gVisor bot | |
PiperOrigin-RevId: 354367665 | |||
2021-01-26 | Merge release-20210112.0-93-g203890b13 (automated) | gVisor bot | |
2021-01-26 | Move inotify events from syscall to vfs layer. | Dean Deng | |
This also causes inotify events to be generated when reading files for exec. This change also requires us to adjust splice+inotify tests due to discrepancies between gVisor and Linux behavior. Note that these discrepancies existed before; we just did not exercise them previously. See comment for more details. Fixes #5348. PiperOrigin-RevId: 353907187 | |||
2021-01-22 | Merge release-20210112.0-75-gf52f0101b (automated) | gVisor bot | |
2021-01-22 | Implement F_GETLK fcntl. | Dean Deng | |
Fixes #5113. PiperOrigin-RevId: 353313374 | |||
2021-01-21 | Merge release-20210112.0-56-g2c58af226 (automated) | gVisor bot | |
2021-01-20 | Update splice syscall documentation. | Dean Deng | |
PiperOrigin-RevId: 352954044 | |||
2021-01-21 | Merge release-20210112.0-51-g55332aca9 (automated) | gVisor bot | |
2021-01-20 | Move Lock/UnlockPOSIX into LockFD util. | Dean Deng | |
PiperOrigin-RevId: 352904728 | |||
2021-01-15 | Merge release-20210112.0-25-ge57ebcd37 (automated) | gVisor bot | |
2021-01-14 | Simplify the pipe implementation. | Jamie Liu | |
- Remove the pipe package's dependence on the buffer package, which becomes unused as a result. The buffer package is currently intended to serve two use cases, pipes and temporary buffers, and does neither optimally as a result; this change facilitates retooling the buffer package to better serve the latter. - Pass callbacks taking safemem.BlockSeq to the internal pipe I/O methods, which makes most callbacks trivial. - Fix VFS1's splice() and tee() to immediately return if a pipe returns a partial write. PiperOrigin-RevId: 351911375 | |||
2021-01-12 | Merge release-20201216.0-87-g4e03e8754 (automated) | gVisor bot | |
2021-01-12 | Fix simple mistakes identified by goreportcard. | Adin Scannell | |
These are primarily simplification and lint mistakes. However, minor fixes are also included and tests added where appropriate. PiperOrigin-RevId: 351425971 | |||
2021-01-08 | Merge release-20201216.0-72-gbf343394d (automated) | gVisor bot | |
2021-01-07 | Implement the semtimedop syscall | Andrei Vagin | |
Signed-off-by: Andrei Vagin <avagin@gmail.com> | |||
2021-01-05 | Merge release-20201208.0-110-gce7a4440c (automated) | gVisor bot | |
2021-01-05 | Fix panic when parsing SO_TIMESTAMP cmsg | Kevin Krakauer | |
PiperOrigin-RevId: 350223482 | |||
2020-12-31 | Merge release-20201208.0-102-g807a080d9 (automated) | gVisor bot | |
2020-12-31 | Add missing error checks for FileDescription.Init. | Dean Deng | |
Syzkaller discovered this bug in pipefs by doing something quite strange: creat(&(0x7f0000002a00)='./file1\x00', 0x0) mount(&(0x7f0000000440)=ANY=[], &(0x7f00000002c0)='./file1\x00', &(0x7f0000000300)='devtmpfs\x00', 0x20000d, 0x0) creat(&(0x7f0000000000)='./file1/file0\x00', 0x0) This can be reproduced with: touch mymount mkfifo /dev/mypipe mount -o ro -t devtmpfs devtmpfs mymount echo 123 > mymount/mypipe PiperOrigin-RevId: 349687714 | |||
2020-12-30 | Merge release-20201208.0-98-g0fb5de115 (automated) | gVisor bot | |
2020-12-30 | Merge release-20201208.0-96-ged5850e8e (automated) | gVisor bot | |
2020-12-30 | Merge release-20201208.0-95-gfc153750e (automated) | gVisor bot | |
2020-12-30 | Merge release-20201208.0-94-gffa9a715a (automated) | gVisor bot | |
2020-12-30 | Merge release-20201208.0-91-g85c1c3ed4 (automated) | gVisor bot | |
2020-12-29 | Merge release-20201208.0-90-g91c05c609 (automated) | gVisor bot | |
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-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 | Implement command SEM_INFO and SEM_STAT for semctl. | Jing Chen | |
PiperOrigin-RevId: 347711998 | |||
2020-12-15 | [syzkaller] Avoid AIOContext from resurrecting after being marked dead. | Ayush Ranjan | |
syzkaller reported the closing of a nil channel. This is only possible when the AIOContext was destroyed twice. Some scenarios that could lead to this: - It died and then some called aioCtx.Prepare() on it and then killed it again which could cause the double destroy. The context could have been destroyed in between the call to LookupAIOContext() and Prepare(). - aioManager was destroyed but it did not update the contexts map. So Lookup could still return a dead AIOContext and then someone could call Prepare on it and kill it again. So added a check in aioCtx.Prepare() for the context being dead. This will prevent a dead context from resurrecting. Also refactored code to destroy the aioContext consistently. Earlier we were not munmapping the aioContexts that were destroyed upon aioManager destruction. Reported-by: syzbot+ef6a588d0ce6059991d2@syzkaller.appspotmail.com PiperOrigin-RevId: 347704347 | |||
2020-12-14 | Merge release-20201208.0-41-gab593661e (automated) | gVisor bot | |
2020-12-12 | Merge release-20201208.0-40-g08d36b6c6 (automated) | gVisor bot | |
2020-12-12 | Merge release-20201208.0-39-g4aef908c9 (automated) | gVisor bot | |
2020-12-12 | Merge release-20201208.0-38-g4b697aae5 (automated) | gVisor bot | |
2020-12-12 | Merge release-20201208.0-36-g1e92732eb (automated) | gVisor bot | |
2020-12-11 | Merge release-20201208.0-35-g80379894d (automated) | gVisor bot | |
2020-12-11 | Merge release-20201208.0-31-g4cba3904f (automated) | gVisor bot | |
2020-12-11 | Remove existing nogo exceptions. | Adin Scannell | |
PiperOrigin-RevId: 347047550 | |||
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-11 | Merge release-20201208.0-26-g73eccab91 (automated) | gVisor bot | |
2020-12-11 | Make semctl IPC_INFO cmd return the index of highest used entry. | Jing Chen | |
PiperOrigin-RevId: 346973338 | |||
2020-12-10 | Merge release-20201130.0-74-g92ca72ecb (automated) | gVisor bot | |