commit | dff8303ebfd152532340b0dbfd376e4778261673 | [log] [tgz] |
---|---|---|
author | Adam Barth <abarth@fuchsia.infra.roller.google.com> | Tue Aug 03 13:12:21 2021 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Aug 03 06:13:11 2021 -0700 |
tree | 07339f668677bf7dfeccd9631fbaa15a8d1d7a0b | |
parent | dd8accabdb90a3fd0b8bc43144e17204c07fa1d6 [diff] |
[roll] Roll fuchsia [starnix] Pass mmap/truncate tests After this CL, we pass three tests that combine mmap and ftruncate. Previously, we were not zeroing out the memory at the end of a file correctly. Turns out zx_vmo_set_size will do this work for us. Also, implement a trivial msync that is enough to pass the test. When Zircon has a writeback pager, we'll be able to have a more complete implementation that actually triggers a writeback for paged memory. Test: MMapFileTest.*Truncate* Original-Bug: 79301 Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/562908 Original-Revision: 770618eb406ba08f5367953e9ef36b7ddfcecdc6 GitOrigin-RevId: 15363d1570bec89909569fe714fd75194ebcbe7f Change-Id: I9027b4a15f3bd7ff42380b6a80ae4eb8b57ed5f5
This repository contains Fuchsia's Global Integration manifest files.
All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.
Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia
on Freenode.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party
.