diff options
author | Jamie Liu <jamieliu@google.com> | 2020-04-08 13:39:02 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-04-08 13:40:27 -0700 |
commit | d8c0c1d9d5f30f4cfe8e0adedd264b10aff793f7 (patch) | |
tree | 0ccbdd57c333bd6b629c9f6e8e9494a6ef8a2c6c /test/syscalls/linux/file_base.h | |
parent | b30130567d81157e39b692e0116f86015f0bcc71 (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 'test/syscalls/linux/file_base.h')
0 files changed, 0 insertions, 0 deletions