commit | 0b5ec35d40e938669d498d9daf4b2e60e430120c | [log] [tgz] |
---|---|---|
author | Chris Suter <csuter@google.com> | Fri Jul 14 00:36:10 2023 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jul 14 00:36:10 2023 +0000 |
tree | 2c35e0985111be8c35d97751a7b6129b1dac52bf | |
parent | 3221439c318dbbe42bfb962b3e5ee0d4c96551ce [diff] |
[starnix] Fix sendfile tests for Fxfs The problem was with sendfile assuming that info.size is accurate. However, I think there's a bigger problem which is that the current implementation is racy. I've fixed that by changing reading from the input file to use FsNode rather than the VMO. Fixed: 129779 Bug: 125830 Change-Id: I9fd53a2633c7991d1a9b4ecd4eec3f65740d563c Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/878353 Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com> Fuchsia-Auto-Submit: Chris Suter <csuter@google.com> Reviewed-by: Kevin Lindkvist <lindkvist@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.