[roll] Roll fuchsia [kernel][syscalls] cap zx_bti_pin at 32K addrs

Previously, a cap of 10K was attempted but it was reverted as it failed
post-submit tryjobs:
https://fuchsia-review.git.corp.google.com/c/fuchsia/+/1090612

Cap zx_bti_pin at 32768 addresses, so users can't pin an arbitrarily
large number of addresses.

When zx_bti_pin needs to return discontiguous regions it must return
addresses representing the start of each region. While this is not
normally an issue with most contiguous DMA usage with a region or two,
it requires dynamic memory allocation in the kernel to allocate enough
space for all regions in the worst case. To protect against arbitrary
allocations based on syscall input we establish a limit of however many
dev_vaddr_ts fit inside 64 pages as the upper bound.

Run-All-Tests: true
Original-Bug: 41714
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1152796
Original-Revision: 3354f6fcf5f23357f99e53f5bfe7789b08ff6a69
GitOrigin-RevId: 0c8e417daa1d633bb33b339c5e1a2260a1ca54fe
Change-Id: I48f35d7754b6e185bbbc84682a0ef9c7428c9f0b
1 file changed
tree: 8ec39e76108fab088c9239b8623d1d8ee6f7a61d
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cts
  6. firmware
  7. flower
  8. jiri.lock
  9. MILESTONE
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
  15. 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 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.