[roll] Roll fuchsia [starnix][kernel] Require RCU read scope to access EncodedEntry

Previously, EncodedEntry allowed reading file handles and flags without
explicitly passing an RcuReadScope reference to the accessor methods.
This implicitly and incorrectly relied on caller-instantiated read
scopes, potentially allowing unsafe access.

This change adds FdTableEntryGuard<'a>, which provides safe access to
the decoded fields of EncodedEntry for the duration of the pointer's
lifetime as enforced by RCU.

Original-Original-Bug: 297440106
Test: starnix_syscalls_cpp_tests
Original-Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1620900
Original-Original-Revision: 809058d156f7b53858d2e2b5fdd5e610b946df26
GitOrigin-RevId: 24f0c478aea00bf35994639af32b1a4f9d96b1ae
Change-Id: Ie482c1eb04f13d6343e89df7c1ba5105db86ffab
1 file changed
tree: 023e4ed45d4f3901af5c07317ea01f46268c3beb
  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.