[roll] Roll fuchsia [vfs] Refactor handling of GetBuffer flags.

Remove SharingMode and pass flags directly along instead. This
eliminates any inconsistencies between the specified sharing mode
since it was possible for them to overlap or not match.

Refactor VmoFile rights validation accordingly.

Require VMO_FLAG_PRIVATE to be explicitly specified when calling
GetBuffer on a pseudofile with VMO_FLAG_WRITE (previously the sharing
mode was implicitly changed).

Update handling of flags handled by GetBuffer to more closely match the
existing implementation in memfs as per review comments from
Ib0d13fce9286fdfa42d3233d52cec507410f656f.

Add unit tests to validate new behavior.

Add additional rights validation to io1 conformance tests.

Test: fx test vfs-tests rustvfs-io1-conformance-test
Original-Bug: 37534
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/569546
Original-Revision: 69600778db0e03325a644697d7ed62393f4d6a4f
GitOrigin-RevId: 700facf6c9c4c7130f0bacf24442a7ad379e100d
Change-Id: I36418e6990c70d18792757ef29b4292a4d27ee5b
1 file changed
tree: d8473a711b5ebcc85eba1bd3f461eb6b78c1f844
  1. garnet/
  2. infra/
  3. peridot/
  4. third_party/
  5. topaz/
  6. zircon/
  7. firmware
  8. flower
  9. jiri.lock
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

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.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.