[roll] Roll fuchsia [starnix] Fix reporting of per-mount & superblock mount flags

The "/proc/self/mountinfo" kernel API exposes details of a task's
namespace, with entries distinguishing per-mount flags from options
stored with the file system superblock.  The latter includes the
file system and LSM specific mount options, if any.

The "/proc[/self]/mounts" API instead reports the union of the
file system and per-mount flags, including any file system or LSM
options.

The security::sb_show_options() API is revised to return a Display
implementation, to simplify integration with the proc/mount info
implementations. The implementation is also simplified not to
attempt to re-serialize the options from SIDs, since we now always
retain the string forms.

Helpers are introduced for working with "/proc/self/mountinfo" in
these and some pre-existing tests.

Original-Bug: 322875215
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1548904
Original-Revision: c0a29e46b8c05ebe813ad1af5f6df9e8e4df23ed
GitOrigin-RevId: c24d15c13dc61c6b64cda2fc1d66e505b1a5d3a2
Change-Id: Ief4090767b692d03875e89cbfc6f333e32f001a3
1 file changed
tree: 44a23ab5d44e05f44cdfcf7e9e747dac3746350b
  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.