diff options
author | Kevin Krakauer <krakauer@google.com> | 2019-11-04 10:56:13 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-11-04 10:58:29 -0800 |
commit | 4fdd69d681bb3abb68a043377a2fb0ec8a031d54 (patch) | |
tree | a9f8e172d4c0692e364a240e8ce6d9de7b0a3ec8 /pkg/sentry/platform/kvm/machine_amd64.go | |
parent | b23b36e701c40827065217f4652a51eebc5f9913 (diff) |
Check that a file is a regular file with open(O_TRUNC).
It was possible to panic the sentry by opening a cache revalidating folder with
O_TRUNC|O_CREAT.
PiperOrigin-RevId: 278417533
Diffstat (limited to 'pkg/sentry/platform/kvm/machine_amd64.go')
0 files changed, 0 insertions, 0 deletions