[roll] Roll fuchsia [starnix] Deliver SIGSEGV on invalid user state

If a syscall (such as `rt_sigreturn`), signal handler, or `ptrace` sets
a task's register state (such as the instruction pointer) to a value
that Zircon rejects on restricted mode entry with `ZX_ERR_BAD_STATE`,
Starnix previously killed the task with `SIGKILL`.

Handle `ZX_ERR_BAD_STATE` from `restricted_enter_loop` by delivering a
forced `SIGSEGV` (`SI_KERNEL`) and looping back through restricted exit
processing to dispatch a signal handler or terminate the task.

Original-Original-Fixed: 563127415
Test: fx test sigreturn_test sysret_test signal_handling_test
Original-Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1833929
Original-Original-Revision: 4f5a108489100ae674d7aa633d834c3903608ee6
GitOrigin-RevId: 7674153820900d367b0a52ee3525fec64cdae95e
Change-Id: I745c2c41451b6decbfcf58540202ffd03f28191e
Reviewed-on: https://fuchsia-review.googlesource.com/c/integration/+/1869528
Cr-Commit-Position: refs/heads/main@{#204396}
1 file changed
tree: 2c6975d220fd6c05803bb71a856ff4a5586a0465
  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.