[thinfs] Override NodeGetFlags and NodeSetFlags behavior

The current default behavior of unimplemented transitional FIDL
methods like fuchsia.io.{NodeGetFlags, NodeSetFlags} is to crash the
FIDL server when a client calls them. This is undesirable for
thinfs/pkgfs.

Override these methods (which are the only transitional fuchsia.io
methods) and provide implementations which either map to the GetFlags
implementation, or return an error, but which do not crash thinfs.

Fixed: 50557
Test: Added pkgfs integration tests
Change-Id: I79dfb0fb3aba801e0c0e460a05eb2b25bc02abb8
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/404907
Commit-Queue: John Wittrock <wittrock@google.com>
Reviewed-by: Kevin Wells <kevinwells@google.com>
Testability-Review: Kevin Wells <kevinwells@google.com>
3 files changed
tree: 32232fa8a612867d95423b9a4b60b208e65c8829
  1. .clang-format
  2. .clang-tidy
  3. .gitattributes
  4. .gitignore
  5. .gn
  6. .style.yapf
  7. AUTHORS
  8. BUILD.gn
  9. CODE_OF_CONDUCT.md
  10. CONTRIBUTING.md
  11. LICENSE
  12. OWNERS
  13. PATENTS
  14. README.md
  15. boards/
  16. build/
  17. bundles/
  18. cts/
  19. docs/
  20. examples/
  21. garnet/
  22. products/
  23. rustfmt.toml
  24. scripts/
  25. sdk/
  26. src/
  27. third_party/
  28. tools/
  29. zircon/
README.md

Fuchsia

Pink + Purple == Fuchsia (a new operating system)

What is Fuchsia?

Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.

Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See fuchsia.dev.