diff options
author | Ayush Ranjan <ayushranjan@google.com> | 2020-08-12 17:17:17 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-08-12 17:19:09 -0700 |
commit | 42b610d56750b4bb8e3d69b680e4fb538f8fb554 (patch) | |
tree | e68915b8d0da71ac4b5baae6bcc5773073665226 /pkg/sentry/hostcpu/hostcpu_test.go | |
parent | d50f2e2c7639084bbccac35fcc5f55e3f83f646a (diff) |
[vfs2][gofer] Return appropriate errors when opening and creating files.
Fixes php test ext/standard/tests/file/touch_variation5.phpt on vfs2.
Updates #3516
Also spotted a bug with O_EXCL, where we did not return EEXIST when we tried
to open the root of the filesystem with O_EXCL | O_CREAT.
Added some more tests for open() corner cases.
PiperOrigin-RevId: 326346863
Diffstat (limited to 'pkg/sentry/hostcpu/hostcpu_test.go')
0 files changed, 0 insertions, 0 deletions