diff options
author | Jamie Liu <jamieliu@google.com> | 2020-04-28 11:27:38 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-04-28 11:28:44 -0700 |
commit | 42822603551e5f0c0796918abf0ce92990c80da8 (patch) | |
tree | 17ad530d0240bfe13ac9189c09734987e10829c9 /pkg/sentry/fsimpl/sockfs | |
parent | ceb3c0e06216f4c92b11ec06d70672ea1e81f348 (diff) |
Don't unlink named pipes in pipe test.
TempPath's destructor runs at the end of the named pipe creation functions,
deleting the named pipe. If the named pipe is backed by a "non-virtual"
filesystem (!fs.Inode.IsVirtual()), this causes the following save attempt to
fail because there are FDs holding the deleted named pipe open.
PiperOrigin-RevId: 308861999
Diffstat (limited to 'pkg/sentry/fsimpl/sockfs')
0 files changed, 0 insertions, 0 deletions