Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-09-29 | Merge release-20200921.0-71-g4a428b13b (automated) | gVisor bot | |
2020-09-29 | Add /proc/[pid]/cwd | Fabricio Voznika | |
PiperOrigin-RevId: 334478850 | |||
2020-09-29 | Merge release-20200921.0-70-g7fbb45e8e (automated) | gVisor bot | |
2020-09-29 | iptables: refactor to make targets extendable | Kevin Krakauer | |
Like matchers, targets should use a module-like register/lookup system. This replaces the brittle switch statements we had before. The only behavior change is supporing IPT_GET_REVISION_TARGET. This makes it much easier to add IPv6 redirect in the next change. Updates #3549. PiperOrigin-RevId: 334469418 | |||
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-28 | Merge release-20200921.0-55-ga0e0ba690 (automated) | gVisor bot | |
2020-09-28 | Support inotify in overlayfs. | Dean Deng | |
Fixes #1479, #317. PiperOrigin-RevId: 334258052 | |||
2020-09-27 | Merge release-20200921.0-54-gfa995da84 (automated) | gVisor bot | |
2020-09-27 | Fix kernfs race condition. | Dean Deng | |
Do not release dirMu between checking whether to create a child and actually inserting it. Also fixes a bug in fusefs which was causing it to deadlock under the new lock ordering. We do not need to call kernfs.Dentry.InsertChild from newEntry because it will always be called at the kernfs filesystem layer. Updates #1193. PiperOrigin-RevId: 334049264 | |||
2020-09-27 | Merge release-20200921.0-53-g2a60f9229 (automated) | gVisor bot | |
2020-09-27 | Clean up kcov. | Dean Deng | |
Previously, we did not check the kcov mode when performing task work. As a result, disabling kcov did not do anything. Also avoid expensive atomic RMW when consuming coverage data. We don't need the swap if the value is already zero (which is most of the time), and it is ok if there are slight inconsistencies due to a race between coverage data generation (incrementing the value) and consumption (reading a nonzero value and writing zero). PiperOrigin-RevId: 334049207 | |||
2020-09-24 | Merge release-20200914.0-158-g832d91b80 (automated) | gVisor bot | |
2020-09-24 | [vfs] kernfs: Do not hold reference on the inode when opening FD. | Ayush Ranjan | |
The FD should hold a reference on the dentry they were opened on which in turn holds a reference on the inode it points to. PiperOrigin-RevId: 333589223 | |||
2020-09-24 | Merge release-20200914.0-154-g2a10bc1e4 (automated) | gVisor bot | |
2020-09-24 | [vfs] [2/2] kernfs: kernfs: Internally use kernfs.Dentry instead of vfs.Dentry. | Ayush Ranjan | |
Update signatures for: - All methods in inodeDirectory - deferDecRef() and Filesystem.droppedDentries - newSyntheticDirectory() - `slot`s used in OrderedChildren and subsequent methods like replaceChildLocked() and checkExistingLocked() - stepExistingLocked(), walkParentDirLocked(), checkCreateLocked() Updates #1193 PiperOrigin-RevId: 333558866 | |||
2020-09-24 | Merge release-20200914.0-152-g0a7075f38 (automated) | gVisor bot | |
2020-09-24 | Add basic stateify annotations. | Adin Scannell | |
Updates #1663 PiperOrigin-RevId: 333539293 | |||
2020-09-24 | Merge release-20200914.0-147-g3838e83a9 (automated) | gVisor bot | |
2020-09-23 | fuse: don't call dentry.InsertChild | Andrei Vagin | |
It is called from the kernfs code (OpenAt and revalidateChildLocked()). For RemoveChildLocked, it is opposed. We need to call it from fuse.RmDir and fuse.Unlink. PiperOrigin-RevId: 333453218 | |||
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-24 | Rename kernel.SocketEntry to kernel.SocketRecord | Tiwei Bie | |
SocketEntry can be confusing with the template types as the 'Entry' is usually used as a suffix for list element types, e.g. socketEntry in the same package. Suggested by Dean (@dean-deng). Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com> | |||
2020-09-24 | Merge release-20200914.0-145-g6410e74a9 (automated) | gVisor bot | |
2020-09-23 | Add more descriptive comments on mount options. | Dean Deng | |
PiperOrigin-RevId: 333447255 | |||
2020-09-24 | Merge release-20200914.0-144-g08bbad690 (automated) | gVisor bot | |
2020-09-23 | [vfs] kernfs: Enable leak checking consistently. | Ayush Ranjan | |
There were some instances where we were not enabling leak checking. PiperOrigin-RevId: 333418571 | |||
2020-09-23 | Let underlying fs handle LockFD in verity fs | Chong Cai | |
PiperOrigin-RevId: 333412836 | |||
2020-09-23 | Set verity underlying fs mount as internal | Chong Cai | |
PiperOrigin-RevId: 333404727 | |||
2020-09-23 | Merge release-20200914.0-138-gd00207ff4 (automated) | gVisor bot | |
2020-09-23 | Merge release-20200914.0-137-g99decaadd (automated) | gVisor bot | |
2020-09-23 | Merge release-20200914.0-136-gb54dbdfdc (automated) | gVisor bot | |
2020-09-22 | Handle EOF properly in splice/sendfile. | Dean Deng | |
Use HandleIOErrorVFS2 instead of custom error handling. PiperOrigin-RevId: 333227581 | |||
2020-09-23 | Merge release-20200914.0-135-gc0f21bb19 (automated) | gVisor bot | |
2020-09-22 | Merge release-20200914.0-134-gcf3cef117 (automated) | gVisor bot | |
2020-09-22 | Merge release-20200914.0-133-g20dc83c9e (automated) | gVisor bot | |
2020-09-22 | [vfs] [1/2] kernfs: Internally use kernfs.Dentry instead of vfs.Dentry. | Ayush Ranjan | |
Update signatures for: - walkExistingLocked - checkDeleteLocked - Inode.Open Updates #1193 PiperOrigin-RevId: 333163381 | |||
2020-09-22 | Merge release-20200914.0-132-g778c36717 (automated) | gVisor bot | |
2020-09-22 | Merge release-20200914.0-131-g6e5ea605f (automated) | gVisor bot | |
2020-09-22 | Merge release-20200914.0-130-g13a9a622e (automated) | gVisor bot | |
2020-09-22 | Merge release-20200914.0-129-gf134f873f (automated) | gVisor bot | |
2020-09-22 | Merge release-20200914.0-128-g742e58b87 (automated) | gVisor bot | |
2020-09-21 | Allow partial writes for gofer.specialFileFD. | Dean Deng | |
Originally, we avoided partial writes in case it caused us to write a partial packet to a socket-backed specialFileFD. However, this check causes splicing from a pipe to specialFileFD to fail if we hit EOF on the pipe. PiperOrigin-RevId: 333016216 | |||
2020-09-21 | Merge release-20200914.0-127-g059d90b9f (automated) | gVisor bot | |
2020-09-21 | Merge release-20200914.0-126-g73f3a34b5 (automated) | gVisor bot | |
2020-09-21 | Merge release-20200914.0-125-g06dbd5b7b (automated) | gVisor bot | |
2020-09-21 | Merge release-20200914.0-124-g10dcefbc7 (automated) | gVisor bot | |