diff options
author | Andrei Vagin <avagin@google.com> | 2019-06-24 21:43:14 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-06-24 21:44:27 -0700 |
commit | fd16a329ce0c9fa1e7dd4c0fc1edc201f4c19571 (patch) | |
tree | 416f77c16bf0a39b0b7f6495dc80184f153b99ea /pkg/sentry/fs/host/device.go | |
parent | e9ea7230f7dc70d3e1bb5ae32b6927209cafb465 (diff) |
fsgopher: reopen files via /proc/self/fd
When we reopen file by path, we can't be sure that
we will open exactly the same file. The file can be
deleted and another one with the same name can be
created.
PiperOrigin-RevId: 254898594
Diffstat (limited to 'pkg/sentry/fs/host/device.go')
0 files changed, 0 insertions, 0 deletions