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

Cap zx_bti_pin at 10240 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 20 pages as the upper bound.

Run-All-Tests: true
Original-Bug: 41714
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1090612
Original-Revision: 4ef1470491207e98c8f662bd2c89c2c2a4496967
GitOrigin-RevId: 9c713681056aa0ae0901398f3d9635a37f6ca6a7
Change-Id: I5c32a7f7e41f7eca94f2a5c8e88216f94136fe30
1 file changed
tree: a80aaf3de0f8c47c3ac332827ad8919aa417a8dd
  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.