Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FSA] Allow seeking past the end of a file
Currently, we reject all attempts to write past the end of a file. This change makes the API more consistent with the behavior of POSIX. If writing at an offset past the end of a file, the null bytes between the old end of the file and the offset will count towards the file's quota. Adds Quota tests to the SandboxFSW. Bug: 1153385 Change-Id: Iec54acbccecb728f9375931825525ba2fbafd1ca Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2593810 Reviewed-by: Marijn Kruisselbrink <mek@chromium.org> Commit-Queue: Austin Sullivan <asully@chromium.org> Cr-Commit-Position: refs/heads/master@{#850838}
- Loading branch information