tree: c278de4e034bd936cd535a86fe806385e89385e7 [path history] [tgz]
  1. bootreason/
  2. composite_fd/
  3. crash_throttling/
  4. devicetree/
  5. ebpf/
  6. ebpf_api/
  7. ebpf_loader/
  8. estimate_timeline/
  9. expando/
  10. extended_pstate/
  11. features/
  12. filter_methods_macro/
  13. line_discipline/
  14. linux_uapi/
  15. magma/
  16. memory_pinning/
  17. page_buf/
  18. range_map/
  19. selinux/
  20. seq_lock/
  21. split_enum_storage/
  22. starnix_container/
  23. starnix_ext/
  24. starnix_lifecycle/
  25. starnix_logging/
  26. starnix_rcu/
  27. starnix_registers/
  28. starnix_stack/
  29. starnix_sync/
  30. starnix_syscalls/
  31. starnix_task_command/
  32. starnix_types/
  33. starnix_uapi/
  34. syncio/
  35. third_party/
  36. usercopy/
  37. virtgralloc/
  38. BUILD.gn
  39. README.md
src/starnix/lib/README.md

Starnix Libraries

This directory contains libraries used by Starnix.

Dependency Rules

Code in this directory must not depend on //src/starnix/kernel/core (target starnix_core). This separation ensures that base libraries remain decoupled from the core kernel logic.

Placement Guide

If your code needs to depend on starnix_core, it belongs in one of the following locations:

  • //src/starnix/modules: If the code implements a distinct feature, file system, or optional module. This is the preferred location for most features.
  • //src/starnix/kernel: If the code is fundamental to the kernel's operation and tightly coupled with the core.

If your code is generic and not specific to Starnix at all, consider placing it in //src/lib.