Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-08-21 | Merge release-20200810.0-85-g0ea03f501 (automated) | gVisor bot | |
2020-08-21 | Clarify seek behaviour for kernfs.GenericDirectoryFD. | Rahat Mahmood | |
- Remove comment about GenericDirectoryFD not being compatible with dynamic directories. It is currently being used to implement dynamic directories. - Try to handle SEEK_END better than setting the offset to infinity. SEEK_END is poorly defined for dynamic directories anyways, so at least try make it work correctly for the static entries. Updates #1193. PiperOrigin-RevId: 327890128 | |||
2020-08-21 | Merge release-20200810.0-84-g5f33fdf37 (automated) | gVisor bot | |
2020-08-21 | Pass overlay credentials via context in copy up. | Nicolas Lacasse | |
Some VFS operations (those which operate on FDs) get their credentials via the context instead of via an explicit creds param. For these cases, we must pass the overlay credentials on the context. PiperOrigin-RevId: 327881259 | |||
2020-08-21 | Merge release-20200810.0-83-g5ec3d4ed3 (automated) | gVisor bot | |
2020-08-21 | 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-08-21 | Merge release-20200810.0-82-gc9e752b64 (automated) | gVisor bot | |
2020-08-21 | Merge release-20200810.0-81-g2c422b7f2 (automated) | gVisor bot | |
2020-08-21 | Fix parent directory creation in CreateDeviceFile. | Nicolas Lacasse | |
It was not properly creating recursive directories. Added tests for this case. Updates #1196 PiperOrigin-RevId: 327850811 | |||
2020-08-21 | Merge release-20200810.0-80-gc24db90be (automated) | gVisor bot | |
2020-08-21 | Merge release-20200810.0-79-g0324b94a7 (automated) | gVisor bot | |
2020-08-20 | Merge release-20200810.0-78-g73c69cb4d (automated) | gVisor bot | |
2020-08-20 | [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-08-20 | Merge release-20200810.0-77-ge8a25a283 (automated) | gVisor bot | |
2020-08-20 | Merge release-20200810.0-76-gdf4822709 (automated) | gVisor bot | |
2020-08-20 | Merge release-20200810.0-75-g3163aff86 (automated) | gVisor bot | |
2020-08-20 | Add reference count checking to the fsimpl/host package. | Dean Deng | |
Includes a minor refactor for inode construction. Updates #1486. PiperOrigin-RevId: 327694933 | |||
2020-08-20 | Merge release-20200810.0-74-g129018ab3 (automated) | gVisor bot | |
2020-08-20 | 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-08-20 | Merge release-20200810.0-73-gf12b545d8 (automated) | gVisor bot | |
2020-08-20 | Skip listening TCP ports when trying to bind a free port. | Bhasker Hariharan | |
PiperOrigin-RevId: 327686558 | |||
2020-08-20 | Merge release-20200810.0-72-g7ca62b9da (automated) | gVisor bot | |
2020-08-20 | Merge release-20200810.0-71-g710adf23c (automated) | gVisor bot | |
2020-08-20 | Merge release-20200810.0-70-gd2e32395c (automated) | gVisor bot | |
2020-08-20 | Fix tabs in lock-ordering doc. | Nicolas Lacasse | |
PiperOrigin-RevId: 327654207 | |||
2020-08-20 | Merge release-20200810.0-69-gbe76c7ce6 (automated) | gVisor bot | |
2020-08-20 | Merge release-20200810.0-68-g633570462 (automated) | gVisor bot | |
2020-08-19 | Remove path walk from localFile.Mknod | Fabricio Voznika | |
Replace mknod call with mknodat equivalent to protect against symlink attacks. Also added Mknod tests. Remove goferfs reliance on gofer to check for file existence before creating a synthetic entry. Updates #2923 PiperOrigin-RevId: 327544516 | |||
2020-08-20 | Merge release-20200810.0-67-g25babd635 (automated) | gVisor bot | |
2020-08-19 | Merge release-20200810.0-66-gf8a948300 (automated) | gVisor bot | |
2020-08-19 | Merge release-20200810.0-65-g182f66ee5 (automated) | gVisor bot | |
2020-08-19 | ip6tables: move ipv4-specific logic into its own file | Kevin Krakauer | |
A later change will introduce the equivalent IPv6 logic. #3549 PiperOrigin-RevId: 327499064 | |||
2020-08-19 | Merge release-20200810.0-64-g5cf330106 (automated) | gVisor bot | |
2020-08-19 | Merge release-20200810.0-62-g41777e90e (automated) | gVisor bot | |
2020-08-19 | Merge release-20200810.0-61-g333172229 (automated) | gVisor bot | |
2020-08-19 | Merge release-20200810.0-60-g33c60b893 (automated) | gVisor bot | |
2020-08-19 | Return appropriate errors when file locking is unsuccessful. | Dean Deng | |
test_eintr now passes in the Python runtime tests. Updates #3515. PiperOrigin-RevId: 327441081 | |||
2020-08-19 | Merge release-20200810.0-59-g35dc7fe7e (automated) | gVisor bot | |
2020-08-18 | [vfs] Allow offsets for special files other than regular files. | Ayush Ranjan | |
Some character and block devices can be seekable. So allow their FD to maintain file offset. PiperOrigin-RevId: 327370684 | |||
2020-08-19 | Merge release-20200810.0-58-ge5f05d9bf (automated) | gVisor bot | |
2020-08-18 | Get rid of kernfs.Inode.Destroy. | Dean Deng | |
This interface method is unneeded. PiperOrigin-RevId: 327370325 | |||
2020-08-19 | Merge release-20200810.0-57-gf2822da54 (automated) | gVisor bot | |
2020-08-18 | Move ERESTART* error definitions to syserror package. | Dean Deng | |
This is needed to avoid circular dependencies between the vfs and kernel packages. PiperOrigin-RevId: 327355524 | |||
2020-08-19 | Merge release-20200810.0-56-g9da77d00f (automated) | gVisor bot | |
2020-08-18 | Don't set atime if mount is readonly | Fabricio Voznika | |
Updates #1035 PiperOrigin-RevId: 327351475 | |||
2020-08-19 | Merge release-20200810.0-55-gafe7303c3 (automated) | gVisor bot | |
2020-08-18 | Add more information to panic when device ID don't match | Fabricio Voznika | |
PiperOrigin-RevId: 327351357 | |||
2020-08-18 | Merge release-20200810.0-54-gf6d249048 (automated) | gVisor bot | |
2020-08-18 | Merge release-20200810.0-53-g4184a7d5f (automated) | gVisor bot | |
2020-08-18 | Merge release-20200810.0-52-g6405525b0 (automated) | gVisor bot | |