]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
docs: mention src/include/ directories
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 8 Jul 2025 04:52:03 +0000 (13:52 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 11 Jul 2025 04:05:46 +0000 (13:05 +0900)
docs/ARCHITECTURE.md

index ff6c8975d56a6237a153bb50383c6c649e825d6b..33bd992ae9c2664010882fcfd239d3239f39fdac 100644 (file)
@@ -20,6 +20,9 @@ There are many, and more are constantly added, so we will not enumerate them all
 
 The code that is shared between components is split into a few directories, each with a different purpose:
 
+- 'src/include/uapi/' contains copy of kernel headers we use.
+  'src/include/override/' contains wrappers for libc and kernel headers, to provide several missing symbols.
+
 - `src/basic/` and `src/fundamental/` — those directories contain code primitives that are used by all other code.
   `src/fundamental/` is stricter, because it used for EFI and user-space code, while `src/basic/` is only used for user-space code.
   The code in `src/fundamental/` cannot depend on any other code in the tree, and `src/basic/` can depend only on itself and `src/fundamental/`.
@@ -43,6 +46,12 @@ Any code that is used only for EFI goes under `src/boot/efi/`, and `src/fundamen
 
 To summarize:
 
+`src/include/uapi/`
+- copy of kernel headers
+
+`src/include/override/`
+- wrappers for libc and kernel headers
+
 `src/fundamental/`
 - may be used by all code in the tree
 - may not use any code outside of `src/fundamental/`