Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | stateify: Fix afterLoad not being called for root object | Ting-Yu Wang | |
PiperOrigin-RevId: 327711264 | |||
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 | Only use the NextHeader value of the first IPv6 fragment extension header. | Arthur Sfez | |
As per RFC 8200 Section 4.5: The Next Header field of the last header of the Per-Fragment headers is obtained from the Next Header field of the first fragment's Fragment header. Test: - pkg/tcpip/network/ipv6:ipv6_test - pkg/tcpip/network/ipv4:ipv4_test - pkg/tcpip/network/fragmentation:fragmentation_test Updates #2197 PiperOrigin-RevId: 327671635 | |||
2020-08-20 | Merge release-20200810.0-71-g710adf23c (automated) | gVisor bot | |
2020-08-20 | Use a explicit random src for RandomID. | Bhasker Hariharan | |
PiperOrigin-RevId: 327659759 | |||
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-19 | Move boot.Config to its own package | Fabricio Voznika | |
Updates #3494 PiperOrigin-RevId: 327548511 | |||
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-63-g3fd4b83fa (automated) | gVisor bot | |
2020-08-19 | Remove use of channels from p9.connState legacy transport. | Jamie Liu | |
- Remove sendDone, which currently does nothing whatsoever (errors sent to the channel are completely unused). Instead, have request handlers log errors they get from p9.send() inline. - Replace recvOkay and recvDone with recvMu/recvIdle/recvShutdown. In addition to being slightly clearer (IMO), this eliminates the p9.connState.service() goroutine, significantly reducing the overhead involved in passing connection receive access between goroutines (from buffered chan send/recv + unbuffered chan send/recv to just a mutex unlock/lock). PiperOrigin-RevId: 327476755 | |||
2020-08-19 | Merge release-20200810.0-62-g41777e90e (automated) | gVisor bot | |
2020-08-19 | Change runtimeoptions proto handling. | Fabricio Voznika | |
Stolen from cl/327337408 (ascannell is OOO) PiperOrigin-RevId: 327475423 | |||
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 |