summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/vfs/pathname.go
diff options
context:
space:
mode:
authorJamie Liu <jamieliu@google.com>2020-04-08 13:39:02 -0700
committergVisor bot <gvisor-bot@google.com>2020-04-08 13:40:27 -0700
commitd8c0c1d9d5f30f4cfe8e0adedd264b10aff793f7 (patch)
tree0ccbdd57c333bd6b629c9f6e8e9494a6ef8a2c6c /pkg/sentry/vfs/pathname.go
parentb30130567d81157e39b692e0116f86015f0bcc71 (diff)
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
Diffstat (limited to 'pkg/sentry/vfs/pathname.go')
0 files changed, 0 insertions, 0 deletions