[roll] Roll fuchsia [starnix] Enforce FileObject access mode

After this CL, read and write operations on file descriptors work only
if the file descriptor was open for reading or write, respectively.

The test uncovered a bug with read_all and write_all, where they would
fail when attempting to read or write zero bytes. This CL also fixes
that bug.

Test: test_permissions
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/553401
Original-Revision: 26dd06cbefde1337794936212cfda0b32e50947b
GitOrigin-RevId: ef7a56efc17d36a2227b3bf08bc850aad3b21df1
Change-Id: I6cf888161b7739d23df29659aa46a1110aa7082a
1 file changed
tree: 1f2e234c479ac893579bb8f588100222537f4201
  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.