[roll] Roll fuchsia [sestarnix] Add checks for mprotect

This CL adds a check for `execheap` to the `mprotect` syscall.

It also adds to `mprotect` checks that were until now only done for
`mmap`.
To achieve that, the access checks that should be in common
between `mmap_file` and `file_mprotect` were factored out
from `mmap_file` into `file_map_prot_check`.
Both `mmap_file` and `file_mprotect` call `file_map_prot_check`.

Original-Bug: 364569350
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1245165
Original-Revision: a6f8e80f8162048a25654eb61f4f068ee9cf49c6
GitOrigin-RevId: c1a46c79f21ece7c6fd3252032d88e6129d538b9
Change-Id: I73cca5ee01734c3453969422392a538a4df5114f
1 file changed
tree: 94f858d386b255c4b4a934fa8626b32a9513e61b
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. flower
  6. jiri.lock
  7. MILESTONE
  8. minimal
  9. prebuilts
  10. README.md
  11. stem
  12. 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.