Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-09-01 | Merge release-20200818.0-96-g674843849 (automated) | gVisor bot | |
2020-09-01 | Merge release-20200818.0-95-g101c97d6f (automated) | gVisor bot | |
2020-08-31 | Merge release-20200818.0-94-g170560cec (automated) | gVisor bot | |
2020-08-31 | Merge release-20200818.0-93-g6cdfa4fee (automated) | gVisor bot | |
2020-08-31 | Merge release-20200818.0-92-g9d0d82088 (automated) | gVisor bot | |
2020-08-31 | Merge release-20200818.0-89-ga3d189301 (automated) | gVisor bot | |
2020-08-29 | Merge release-20200818.0-88-g3bee863ae (automated) | gVisor bot | |
2020-08-29 | Merge release-20200818.0-87-gf6ddcbefa (automated) | gVisor bot | |
2020-08-28 | Merge release-20200818.0-86-gd3057717d (automated) | gVisor bot | |
2020-08-28 | Merge release-20200818.0-85-gd5787f628 (automated) | gVisor bot | |
2020-08-28 | Merge release-20200818.0-84-gb4820e598 (automated) | gVisor bot | |
2020-08-28 | 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-08-28 | Merge release-20200818.0-83-gbdd5996a7 (automated) | gVisor bot | |
2020-08-28 | Merge release-20200818.0-80-g7bc9f9b47 (automated) | gVisor bot | |
2020-08-28 | Merge release-20200818.0-79-g8ae0ab722 (automated) | gVisor bot | |
2020-08-28 | Merge release-20200818.0-78-g421e35020 (automated) | gVisor bot | |
2020-08-28 | Merge release-20200818.0-77-g84f04909c (automated) | gVisor bot | |
2020-08-27 | Merge release-20200818.0-75-g57877b420 (automated) | gVisor bot | |
2020-08-27 | Merge release-20200818.0-74-g6f8fb7e0d (automated) | gVisor bot | |
2020-08-27 | Merge release-20200818.0-73-g29d528399 (automated) | gVisor bot | |
2020-08-27 | Merge release-20200818.0-71-g26c588f06 (automated) | gVisor bot | |
2020-08-27 | Merge release-20200818.0-69-gdc81eb9c3 (automated) | gVisor bot | |
2020-08-27 | Merge release-20200818.0-68-g01a35a2f1 (automated) | gVisor bot | |
2020-08-27 | Merge release-20200818.0-67-g140ffb600 (automated) | gVisor bot | |
2020-08-27 | Merge release-20200818.0-66-g32e7a54f7 (automated) | gVisor bot | |
2020-08-27 | Merge release-20200818.0-65-ga4b1c6f5a (automated) | gVisor bot | |
2020-08-27 | Merge release-20200818.0-63-g38895db3a (automated) | gVisor bot | |
2020-08-26 | Merge release-20200818.0-61-g983a55aa0 (automated) | gVisor bot | |
2020-08-26 | Merge release-20200818.0-60-g366f1a8f1 (automated) | gVisor bot | |
2020-08-26 | Merge release-20200818.0-59-gb03e0ee80 (automated) | gVisor bot | |
2020-08-26 | Merge release-20200818.0-58-g83a8b309e (automated) | gVisor bot | |
2020-08-26 | Merge release-20200818.0-56-gdf3c105f4 (automated) | gVisor bot | |
2020-08-25 | 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-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-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-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-18 | Merge release-20200810.0-52-g6405525b0 (automated) | gVisor bot | |
2020-08-18 | Avoid holding locks when opening files in VFS2. | Jamie Liu | |
Fixes #3243, #3521 PiperOrigin-RevId: 327308890 | |||
2020-08-03 | Merge release-20200622.1-313-gb2ae7ea1b (automated) | gVisor bot | |
2020-08-03 | Plumbing context.Context to DecRef() and Release(). | Nayana Bidari | |
context is passed to DecRef() and Release() which is needed for SO_LINGER implementation. PiperOrigin-RevId: 324672584 | |||
2020-07-24 | Merge release-20200622.1-210-gd9a3f5d0c (automated) | gVisor bot | |
2020-07-23 | Add permission checks to vfs2 truncate. | Dean Deng | |
- Check write permission on truncate(2). Unlike ftruncate(2), truncate(2) fails if the user does not have write permissions on the file. - For gofers under InteropModeShared, check file type before making a truncate request. We should fail early and avoid making an rpc when possible. Furthermore, depending on the remote host's failure may give us unexpected behavior--if the host converts the truncate request to an ftruncate syscall on an open fd, we will get EINVAL instead of EISDIR. Updates #2923. PiperOrigin-RevId: 322913569 | |||
2020-07-24 | Merge release-20200622.1-209-gbac4ebaab (automated) | gVisor bot | |
2020-07-23 | FileDescription is hard to spell. | Dean Deng | |
Fix typos. PiperOrigin-RevId: 322913282 | |||
2020-07-16 | Merge release-20200622.1-170-g0a745cb34 (automated) | gVisor bot | |
2020-07-14 | Include context in kernfs.Inode.Stat method | Craig Chi | |
To implement stat(2) in FUSE, we have to embed credentials and pid in request header. The information should be extracted from the context passed to VFS layer. Therefore `Stat()` signature in `kernfs.Inode` interface should include context as first argument. Some other fs implementations need to be modified as well, such as devpts, host, pipefs, and proc. Fixes #3235 | |||
2020-07-13 | Merge pull request #2672 from amscanne:shim-integrated | gVisor bot | |
PiperOrigin-RevId: 321053634 |