Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-09-09 | Honor readonly flag for root mount | Fabricio Voznika | |
Updates #1487 PiperOrigin-RevId: 330580699 | |||
2020-09-09 | [vfs] Capitalize x in the {Get/Set/Remove/List}xattr functions. | Ayush Ranjan | |
PiperOrigin-RevId: 330554450 | |||
2020-09-09 | [vfs] Implement xattr for overlayfs. | Ayush Ranjan | |
PiperOrigin-RevId: 329825497 | |||
2020-09-09 | Implement StatFS for various VFS2 filesystems. | Rahat Mahmood | |
This mainly involved enabling kernfs' client filesystems to provide a StatFS implementation. Fixes #3411, #3515. PiperOrigin-RevId: 329009864 | |||
2020-09-09 | Use new reference count utility throughout gvisor. | Dean Deng | |
This uses the refs_vfs2 template in vfs2 as well as objects common to vfs1 and vfs2. Note that vfs1-only refcounts are not replaced, since vfs1 will be deleted soon anyway. The following structs now use the new tool, with leak check enabled: devpts:rootInode fuse:inode kernfs:Dentry kernfs:dir kernfs:readonlyDir kernfs:StaticDirectory proc:fdDirInode proc:fdInfoDirInode proc:subtasksInode proc:taskInode proc:tasksInode vfs:FileDescription vfs:MountNamespace vfs:Filesystem sys:dir kernel:FSContext kernel:ProcessGroup kernel:Session shm:Shm mm:aioMappable mm:SpecialMappable transport:queue And the following use the template, but because they currently are not leak checked, a TODO is left instead of enabling leak check in this patch: kernel:FDTable tun:tunEndpoint Updates #1486. PiperOrigin-RevId: 328460377 | |||
2020-09-09 | Change "Fd" member to "FD" according to convension | gVisor bot | |
PiperOrigin-RevId: 328374775 | |||
2020-09-09 | Bump build constraints to 1.17 | Michael Pratt | |
This enables pre-release testing with 1.16. The intention is to replace these with a nogo check before the next release. PiperOrigin-RevId: 328193911 | |||
2020-09-09 | Update inotify documentation for gofer filesystem. | Dean Deng | |
We now allow hard links to be created within gofer fs (see github.com/google/gvisor/commit/f20e63e31b56784c596897e86f03441f9d05f567). Update the inotify documentation accordingly. PiperOrigin-RevId: 328177485 | |||
2020-09-09 | [vfs] Allow mountpoint to be an existing non-directory. | Ayush Ranjan | |
Unlike linux mount(2), OCI spec allows mounting on top of an existing non-directory file. PiperOrigin-RevId: 327914342 | |||
2020-09-09 | Provide fdReader/Writer for FileDescription | gVisor bot | |
fdReader/Writer implements io.Reader/Writer so that they can be passed to Merkle tree library. PiperOrigin-RevId: 327901376 | |||
2020-09-09 | Internal change. | gVisor bot | |
PiperOrigin-RevId: 327892274 | |||
2020-09-09 | Make mounts ReadWrite first, then later change to ReadOnly. | Nicolas Lacasse | |
This lets us create "synthetic" mountpoint directories in ReadOnly mounts during VFS setup. Also add context.WithMountNamespace, as some filesystems (like overlay) require a MountNamespace on ctx to handle vfs.Filesystem Operations. PiperOrigin-RevId: 327874971 | |||
2020-09-09 | [vfs] Create recursive dir creation util. | Ayush Ranjan | |
Refactored the recursive dir creation util in runsc/boot/vfs.go to be more flexible. PiperOrigin-RevId: 327719100 | |||
2020-09-09 | Consistent precondition formatting | Michael Pratt | |
Our "Preconditions:" blocks are very useful to determine the input invariants, but they are bit inconsistent throughout the codebase, which makes them harder to read (particularly cases with 5+ conditions in a single paragraph). I've reformatted all of the cases to fit in simple rules: 1. Cases with a single condition are placed on a single line. 2. Cases with multiple conditions are placed in a bulleted list. This format has been added to the style guide. I've also mentioned "Postconditions:", though those are much less frequently used, and all uses already match this style. PiperOrigin-RevId: 327687465 | |||
2020-09-09 | Fix tabs in lock-ordering doc. | Nicolas Lacasse | |
PiperOrigin-RevId: 327654207 | |||
2020-09-09 | Merge release-20200818.0-143-gaead623d9 (automated) | gVisor bot | |
2020-09-09 | Merge release-20200818.0-140-gfb281eea7 (automated) | gVisor bot | |
2020-09-09 | Merge release-20200818.0-139-g26439f9a4 (automated) | gVisor bot | |
2020-09-09 | Merge release-20200818.0-138-g00479af51 (automated) | gVisor bot | |
2020-09-09 | Merge release-20200818.0-137-g8d3551da6 (automated) | gVisor bot | |
2020-09-09 | Merge release-20200818.0-136-gbca4d99a4 (automated) | gVisor bot | |
2020-09-08 | [vfs] overlayfs: Fix socket tests. | Ayush Ranjan | |
- BindSocketThenOpen test was expecting the incorrect error when opening a socket. Fixed that. - VirtualFilesystem.BindEndpointAt should not require pop.Path.Begin.Ok() because the filesystem implementations do not need to walk to the parent dentry. This check also exists for MknodAt, MkdirAt, RmdirAt, SymlinkAt and UnlinkAt but those filesystem implementations also need to walk to the parent denty. So that check is valid. Added some syscall tests to test this. PiperOrigin-RevId: 330625220 | |||
2020-09-08 | Merge release-20200818.0-135-ga17d083f3 (automated) | gVisor bot | |
2020-09-08 | Merge release-20200818.0-133-g682c0edcd (automated) | gVisor bot | |
2020-09-08 | Merge release-20200818.0-132-gc8f1ce288 (automated) | gVisor bot | |
2020-09-08 | Honor readonly flag for root mount | Fabricio Voznika | |
Updates #1487 PiperOrigin-RevId: 330580699 | |||
2020-09-08 | Merge release-20200818.0-131-g284e6811e (automated) | gVisor bot | |
2020-09-08 | Merge release-20200818.0-130-ga3b87a0ce (automated) | gVisor bot | |
2020-09-08 | Merge release-20200818.0-128-g38cdb0579 (automated) | gVisor bot | |
2020-09-08 | Merge release-20200818.0-127-gd35f07b36 (automated) | gVisor bot | |
2020-09-08 | Merge release-20200818.0-126-gd84ec6c42 (automated) | gVisor bot | |
2020-09-08 | [vfs] Capitalize x in the {Get/Set/Remove/List}xattr functions. | Ayush Ranjan | |
PiperOrigin-RevId: 330554450 | |||
2020-09-04 | Merge release-20200818.0-124-g2202812e0 (automated) | gVisor bot | |
2020-09-04 | Merge release-20200818.0-122-gb6d6a120d (automated) | gVisor bot | |
2020-09-03 | Merge release-20200818.0-120-g76e51c8b9 (automated) | gVisor bot | |
2020-09-03 | Merge release-20200818.0-119-g30c20df76 (automated) | gVisor bot | |
2020-09-03 | Merge release-20200818.0-118-g319ce6736 (automated) | gVisor bot | |
2020-09-03 | Merge release-20200818.0-117-ga8c174c04 (automated) | gVisor bot | |
2020-09-03 | Merge release-20200818.0-114-g1fec86193 (automated) | gVisor bot | |
2020-09-02 | [vfs] Implement xattr for overlayfs. | Ayush Ranjan | |
PiperOrigin-RevId: 329825497 | |||
2020-09-02 | Merge release-20200818.0-113-g0ca0d8e01 (automated) | gVisor bot | |
2020-09-02 | Merge release-20200818.0-112-g5c6601120 (automated) | gVisor bot | |
2020-09-02 | Merge release-20200818.0-110-gb9b6660dc (automated) | gVisor bot | |
2020-09-02 | Merge release-20200818.0-109-g8ab08cdc0 (automated) | gVisor bot | |
2020-09-02 | Merge release-20200818.0-108-ga0e431038 (automated) | gVisor bot | |
2020-09-02 | Merge release-20200818.0-106-g563f28b7d (automated) | gVisor bot | |
2020-09-02 | Merge release-20200818.0-103-gc67d8ece0 (automated) | gVisor bot | |
2020-09-01 | Merge release-20200818.0-102-g2eaf54dd5 (automated) | gVisor bot | |
2020-09-01 | Merge release-20200818.0-101-g04c284f8c (automated) | gVisor bot | |
2020-09-01 | Merge release-20200818.0-100-g723fb5c11 (automated) | gVisor bot | |