[roll] Roll fuchsia [starnix][pty] Fix race condition when churning terminals

Previously, we would release the terminal identifier before removing the
identifier from the terminal map. If another thread created a new
terminal in that gap, the new terminal could reuse the same identifier
and be inserted into the map. When the first thread gets around to
remove the terminal from the map, it would remove the *new* terminal,
which would cause subsequent attempts to look up the terminal by id to
fail.

Original-Fixed: b/353539087
Multiply: pty_test
Multiply: adbd_test
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1083676
Original-Revision: 413a8df557fffde66d5ac8cec90451c963fb9b94
GitOrigin-RevId: ff45be6d5f5dad5ffd8a110dc8b216f1950e0cdc
Change-Id: I396de7f4818cbfaf2db1a9595f98a4b2f40f4751
1 file changed
tree: 1e37391ba1df2d73f8f153575ebff5d8b9b66bfa
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cts
  6. firmware
  7. flower
  8. jiri.lock
  9. MILESTONE
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
  15. toolchain
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.