[roll] Roll fuchsia [starnix] Return cpu mask size from sched_getaffinity()

sched_getaffinity() syscall is supposed to return size of the cpu
bitmask used inside the kernel, but it was returning 0.
Updated it to return valid result and to calculate bitmask based on
the number of CPUs.

Also updated it to validate PID argument.

Original-Bug: 125672
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/852836
Original-Revision: 23834ace637f51334082e501b94d21f96c900f3b
GitOrigin-RevId: 21028bf84fc1ab7a38214091875e664b363d3f4b
Change-Id: I7811493a19f418426fe3ef52aaa180f8d39100e1
1 file changed
tree: 69b338dc39c3903c3c184fbfe74124a003b20524
  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.