[roll] Roll fuchsia [starnix] Add tests for the MAP_GROWSDOWN / PROT_GROWSDOWN feature

This adds a set of tests for the {MAP,PROT}_GROWSDOWN feature commonly
used to manage stacks. The tests cover growing a region and the
interaction with mappings in or near the guard region. This feature is
unusual in that it changes the effective protection of virtual addresses
that are not contained within any mapping the tests use a combination of
memory accesses and MAP_FIXED_NOREPLACE mappings to probe the effective
state of the address space. PROT_GROWSDOWN is also notable in that it
applies to regions outside the specified area and can modify the future
protections of unmapped regions.

Original-Bug: 97514
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/778983
Original-Revision: e8c220dbcef871107c53ddf50d30de41857074d1
GitOrigin-RevId: 04b884f2a6e190c4f6c4a28dd54c20a01e131d79
Change-Id: Ia479ecf6d5c2330c1ea677db63eb5c2c63b52e12
1 file changed
tree: b480aa655a6155d5cf1e73c73010e47bec6db5a1
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. minimal
  9. prebuilts
  10. README.md
  11. stem
  12. test_durations
  13. 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.