diff options
author | Ayush Ranjan <ayushranjan@google.com> | 2020-11-06 18:50:33 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-11-06 18:52:38 -0800 |
commit | fe9442d3270d14c095932d917e4e53e706866217 (patch) | |
tree | 1490229d4f071cac2cd509d3f8ff5d68b856f326 /pkg/sentry/kernel/timekeeper.go | |
parent | 3ac00fe9c3396f07a1416ff7fc855f6f9a3c4304 (diff) |
[vfs] Return EEXIST when file already exists and rp.MustBeDir() is true.
This is consistent with what Linux does. This was causing a PHP runtime test
failure. Fixed it for VFS2.
PiperOrigin-RevId: 341155209
Diffstat (limited to 'pkg/sentry/kernel/timekeeper.go')
0 files changed, 0 insertions, 0 deletions