[roll] Roll fuchsia [starnix] Report MS_RDONLY in /proc/mounts for remote_bundle

Filesystems like remote_bundle can never be mounted read/write, but
our handling of MS_RDONLY is currently only based on the flags of
the mount, not the filesystem.

MS_RDONLY (and other filesystem mount flags) should be included in
the flags reported by statfs(), but doing so is complicated by the
use of LayeredFs.

This change adds regression tests for reporting of the "ro" option
in "/proc/mounts" for root-mounted "remote_bundle" when remounted
to remove the MS_RDONLY flag, and implements a workaround to
include MS_RDONLY in the filesystem flags reported specifically in
/proc/mounts.  (The details in /proc/self/mountinfo are already
reported correctly)

Original-Bug: 481369533, 322875215, 485951589
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1553021
Original-Revision: 90fe5380b800e37e2875916229f6fa4cb8ee6556
GitOrigin-RevId: 9799eab61668b4cb73fa2e2fcd7bbaeee56947a1
Change-Id: I29a2ddf781fb29a8b7c9f692e1923d2ebe114f41
1 file changed
tree: 6c90870a21a0157e8ced3330af558f98fc4740a5
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cobalt
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. 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 in one of the communication channels documented at get involved.

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.