[roll] Roll fuchsia Revert "[starnix][kernel] Skip zombie tracee registration for unspawned tasks"

This reverts commit 1cea1df943a9a964c61ef6f695a1bd0fdfe088e2.

Reason for revert: Reverting suspect CL due to builder failure

Failure Link: go/bbid/8676727414809643905

Original change's description:
> [starnix][kernel] Skip zombie tracee registration for unspawned tasks
>
> When a task spawned with CLONE_PTRACE fails during thread creation, it
> is cleaned up via release_on_error!(), which ultimately calls
> ThreadGroup::remove(). Because ptrace attachment occurs before thread
> spawning in execute_task(), such an aborted task already has its ptrace
> state populated.
>
> Previously, Task::set_ptrace_zombie() would register this aborted task
> as a zombie in the tracer's zombie_ptracees map. Since the tracee never
> actually ran in userspace and never delivered creation events to the
> tracer, the tracer would never reap it via waitpid(). When the tracer
> subsequently exited and dropped its ThreadGroup, this unreaped zombie
> caused a kernel panic.
>
> This change checks is_spawned() in set_ptrace_zombie(), ensuring that
> tasks failing prior to execution do not register un-reapable zombies.
>
> Linux does not have this problem because it does not attach tasks to the
> PID table or their thread group until they are fully spawned.
>
> Original-Bug: 527225621
> Multiply: ptrace_test
> Change-Id: I6208ff77b3dba534b6b1d92b460b6099dbe7594b
> Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1698658
> Reviewed-by: David Song <wintermelons@google.com>
> Commit-Queue: Jeremiah Griffin <jzgriffin@google.com>

Original-Original-Bug: 527225621
Original-Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1699802
Exempt: android-build-ayeaye@system.gserviceaccount.com <android-build-ayeaye@system.gserviceaccount.com>
Original-Original-Revision: baa69d0a16513bdc58fcad6d6a70d798f2f595e6
GitOrigin-RevId: 49ab204cdbe985a4013467b294f43d42a658b44c
Change-Id: Id6fa0cb83afffe6b80ebd66831e4e599c0342da4
Reviewed-on: https://fuchsia-review.googlesource.com/c/integration/+/1699762
Cr-Commit-Position: refs/heads/main@{#196562}
1 file changed
tree: f9347c5de30bd3cb4adad83b7d6fbef3b07970f7
  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.