summaryrefslogtreecommitdiff
path: root/docs/ARCHITECTURE.md
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-06-04 10:50:33 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-06-04 10:51:19 +0200
commit771bdb6aaeb2873011edb72c8f861c41414563d9 (patch)
treead8b6fa34e14b2c488f929475018c13a04eebf0a /docs/ARCHITECTURE.md
parent287079696c84924e895d9521a505a33f4b140000 (diff)
downloadsystemd-771bdb6aaeb2873011edb72c8f861c41414563d9.tar.gz
docs/ARCHITECTURE: more markup and unicode
Diffstat (limited to 'docs/ARCHITECTURE.md')
-rw-r--r--docs/ARCHITECTURE.md20
1 files changed, 10 insertions, 10 deletions
diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md
index d538765cc1..31b63b4948 100644
--- a/docs/ARCHITECTURE.md
+++ b/docs/ARCHITECTURE.md
@@ -13,19 +13,19 @@ components of the systemd repository.
Directories in `src/` provide the implementation of all daemons, libraries and
command-line tools shipped by the project. There are many, and more are
-constantly added, so we will not enumerate them all here - the directory
+constantly added, so we will not enumerate them all here — the directory
names are self-explanatory.
## Shared Code
You might wonder what kind of common code belongs in `src/shared/` and what
belongs in `src/basic/`. The split is like this: anything that is used to
-implement the public shared object we provide (sd-bus, sd-login, sd-id128,
-nss-systemd, nss-mymachines, nss-resolve, nss-myhostname, pam_systemd), must
-be located in `src/basic` (those objects are not allowed to link to
-libsystemd-shared.so). Conversely, anything which is shared between multiple
-components and does not need to be in `src/basic/`, should be in
-`src/shared/`.
+implement the public shared objects we provide (`sd-bus`, `sd-login`,
+`sd-id128`, `nss-systemd`, `nss-mymachines`, `nss-resolve`, `nss-myhostname`,
+`pam_systemd`), must be located in `src/basic` (those objects are not allowed
+to link to `libsystemd-shared.so`). Conversely, anything which is shared
+between multiple components and does not need to be in `src/basic/`, should be
+in `src/shared/`.
To summarize:
@@ -63,10 +63,10 @@ file is compiled in a standalone binary that can be run to exercise the
corresponding module. While most of the tests can be ran by any user, some
require privileges, and will attempt to clearly log about what they need
(mostly in the form of effective capabilities). These tests are self-contained,
-and generally safe to run on a host without side effects.
+and generally safe to run on the host without side effects.
-Ideally, every module in `src/basic/` and `src/shared/` should have a corresponding
-unit test under `src/test/`, which exercises every helper function.
+Ideally, every module in `src/basic/` and `src/shared/` should have a
+corresponding unit test under `src/test/`, exercising every helper function.
# Integration Tests