[roll] Roll fuchsia [starnix] Usercopy routines using exceptions

This implements a usercopy library for copying memory in/out of
restricted address ranges that translates faults into returns with
errors. This is intended to be used in Starnix in direct memory mapping
mode to catch faults when accessing restricted memory in normal mode
execution such as syscall implementations.

This library uses an exception handler on the current process to catch
page faults within the usercopy routine with a faulting address in the
configured restricted range. Only x86_64 is supported for now.

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/917566
Original-Revision: 950dfc909bff87ff1be80ce75ed723cf65d41950
GitOrigin-RevId: fd3c99db45757bfd0c95fe6ae512780987d20647
Change-Id: I942ff6620794b615001f19b405499401adf6e905
1 file changed
tree: 4cb9cf822db2e3895cd2072a87b948cdf55fe9d9
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
  14. 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.