[roll] Roll fuchsia [starnix] Handle concurrent exit in PidEntry::get_process

`PidEntry::get_process()` reads `self.process` lock-free under RCU. If a
reader loads a `Weak<ThreadGroup>` right as the thread group exits and
drops its last strong reference, `upgrade()` returns `None`, causing an
`.expect()` panic.

Treat `None` as `Some(ProcessEntryRef::Zombie)`, matching the concurrent
transition to zombie state.

Add a unit test for `get_process()` with a released `ThreadGroup`, and
a syscall test racing `CLONE_PIDFD` exits against `pidfd_open()`.

Original-Original-Bug: 565393899
Test: fx test starnix_core_tests, pidfd
Original-Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1844087
Original-Original-Revision: 117f5f22f39bce9db184e736d68404aa8b4566da
GitOrigin-RevId: 32dbbc9442ed4ba61d592d7cb716740d1f3ec67f
Change-Id: I59c5a26365b0dd8ece9252a225c1d63e0867986e
Reviewed-on: https://fuchsia-review.googlesource.com/c/integration/+/1857336
Cr-Commit-Position: refs/heads/main@{#203679}
1 file changed
tree: bf35420ca395ca110bfd17e26ea3f33a0449aec1
  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.