[roll] Roll fuchsia [starnix] Add /dev/ion stub

Intercept "stat('/dev/ion')" (and statx), returning a
synthetic success value instead of ENOENT. In this case,
handling only the absolute path is acceptable since this
pertains to a specific known issue in Android.

This is a temporary workaround (enabled by starnix feature
flag 'fake_ion') to reenable haptics and audio. ION has been
deprecated for a few years, but this should be an
inexpensive and safe measure during the interval until
b/485370648 is fixed.

To test the feature, we add a KernelFeatures parameter
to the 'create_test_kernel()' function used by many tests.

Original-Bug: 476182173
Original-Bug: 476195280
Original-Bug: 485591967
Original-Bug: 486966877

Test: starnix_core_tests

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1517044
Original-Revision: 6a2fb81769c0618e1853344ad826ae698c856817
GitOrigin-RevId: 6c3cf9ceb96cc212ce976ea270a7aadff3c7cdb5
Change-Id: I1df959b069eed5bbf2a041c048c402599f4def4e
1 file changed
tree: c1c9d051a2c8d102c15f6e1596ab74d77b964ccf
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cobalt
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. 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.