[zircon][oom][fs] Signal event in OOM situation

Before rebooting the system when out of memory, have the kernel signal
an event which gives userspace a chance to clean up. In particular,
devcoordinator uses this to cleanly shutdown VFS which is important
until we have journaling.

A new syscall is added system_get_event() to allow retrieval of a handle
to this event. This is gated on providing the root job for now.

This also changes behaviour back to defaulting to reboot-on-OOM rather
than killing KILL_ON_OOM processes, unless in the "bringup" config.

ZX-4277 #comment [zircon][oom][fs] Signal event in OOM situation I1b2949c57bc6440974fabcf57b3fbf8032783bc8
ZX-3637 #comment [zircon][oom][fs] Signal event in OOM situation I1b2949c57bc6440974fabcf57b3fbf8032783bc8
ZX-3636 #comment [zircon][oom][fs] Signal event in OOM situation I1b2949c57bc6440974fabcf57b3fbf8032783bc8
DNO-629 #comment [zircon][oom][fs] Signal event in OOM situation I1b2949c57bc6440974fabcf57b3fbf8032783bc8

Change-Id: I1b2949c57bc6440974fabcf57b3fbf8032783bc8
16 files changed
tree: 3441bb68e71dd0f0a2b002e5b8d57a6b89dc7d50
  1. boards/
  2. build/
  3. buildtools/
  4. bundles/
  5. docs/
  6. examples/
  7. garnet/
  8. peridot/
  9. products/
  10. scripts/
  11. sdk/
  12. src/
  13. third_party/
  14. tools/
  15. zircon/
  16. .clang-format
  17. .clang-tidy
  18. .dir-locals.el
  19. .gitattributes
  20. .gitignore
  21. .gn
  22. AUTHORS
  23. BUILD.gn
  24. CODE_OF_CONDUCT.md
  25. CONTRIBUTING.md
  26. LICENSE
  27. OWNERS
  28. PATENTS
  29. README.md
  30. rustfmt.toml
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 the documentation.