diff options
author | Ayush Ranjan <ayushranjan@google.com> | 2020-07-01 19:47:51 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-07-01 19:49:44 -0700 |
commit | 52b44719d6e14ec299d0d953b4dc07a712b897fa (patch) | |
tree | 961d17d3fe06afedc64fa000397bdaf4e8463865 /pkg/sentry/kernel/threads.go | |
parent | 3b26d2121e3afbbc005b5e919000d55a235b4bbe (diff) |
[vfs2][gofer] Update file size to 0 on O_TRUNC
Some Open:TruncateXxx syscall tests were failing because the file size was
not being updated when the file was opened with O_TRUNC.
Fixes Truncate tests in test/syscalls:open_test_runsc_ptrace_vfs2.
Updates #2923
PiperOrigin-RevId: 319340127
Diffstat (limited to 'pkg/sentry/kernel/threads.go')
0 files changed, 0 insertions, 0 deletions