summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/write.cc
diff options
context:
space:
mode:
authorAyush Ranjan <ayushranjan@google.com>2021-03-15 16:38:46 -0700
committergVisor bot <gvisor-bot@google.com>2021-03-15 16:41:02 -0700
commitec45d969236bb98a83e7da0466bd67e540c5e8b5 (patch)
treec67c9f0d448b10f626613b743204b1dea14678ce /test/syscalls/linux/write.cc
parent48915d17df956a289e12f7bc81be8619ac13ea0a (diff)
[op] Make gofer client handle return partial write length when err is nil.
If there was a partial write (when not using the host FD) which did not generate an error, we were incorrectly returning the number of bytes attempted to write instead of the number of bytes actually written. PiperOrigin-RevId: 363058989
Diffstat (limited to 'test/syscalls/linux/write.cc')
0 files changed, 0 insertions, 0 deletions