gvisor/pkg/sentry/fsimpl
Jamie Liu d8c0c1d9d5 Do not hold FileDescription references in VFS2 procfs inodes.
FileDescription references are side-effectual; for example, holding a reference
on the write end of a pipe prevents reads from the read end from returning EOF.

This change is consistent with Linux, but not VFS1; while VFS1 also has this
bug, it's less visible there since VFS1 procfs disables caching.

Updates #1195

PiperOrigin-RevId: 305545099
2020-04-08 13:40:27 -07:00
..
devtmpfs Add FilesystemType.Name method, and FilesystemType field to Filesystem struct. 2020-03-27 16:56:16 -07:00
ext Add FilesystemType.Name method, and FilesystemType field to Filesystem struct. 2020-03-27 16:56:16 -07:00
gofer Make unlink tests pass with goferfs 2020-04-07 18:27:55 -07:00
host Correctly distinguish between seekable and non-seekable host fds. 2020-04-07 16:17:40 -07:00
kernfs Correctly implement magic symlinks in VFS2 procfs. 2020-04-06 16:32:37 -07:00
proc Do not hold FileDescription references in VFS2 procfs inodes. 2020-04-08 13:40:27 -07:00
sockfs Add FileDescriptionImpl for Unix sockets. 2020-04-03 14:08:54 -07:00
sys Add FilesystemType.Name method, and FilesystemType field to Filesystem struct. 2020-03-27 16:56:16 -07:00
testutil Allow passing root file type to tmpfs. 2020-03-31 15:02:57 -07:00
tmpfs Add socket files to tmpfs VFS2. 2020-04-06 07:31:27 -07:00