summaryrefslogtreecommitdiffstats
path: root/docs/CODING_STYLE.md
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2024-02-24 06:26:19 +0100
committerMike Yuan <me@yhndnzj.com>2024-02-24 06:26:19 +0100
commit3d3c42773d035ca261f4e64ad94f114cbd5fa0fb (patch)
treef8d243766238fb3d9a21468689baa0f8e0459da4 /docs/CODING_STYLE.md
parentFallback from pidfd_open on permission errors too (diff)
downloadsystemd-3d3c42773d035ca261f4e64ad94f114cbd5fa0fb.tar.xz
systemd-3d3c42773d035ca261f4e64ad94f114cbd5fa0fb.zip
docs/CODING_STYLE: fix typo (CLONE_VORK -> VFORK)
Diffstat (limited to 'docs/CODING_STYLE.md')
-rw-r--r--docs/CODING_STYLE.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/CODING_STYLE.md b/docs/CODING_STYLE.md
index 0e76122734..6d6e549f5c 100644
--- a/docs/CODING_STYLE.md
+++ b/docs/CODING_STYLE.md
@@ -774,7 +774,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
- A corollary of the above is: never use `clone()` where a `fork()` would do
too. Also consider using `posix_spawn()` which combines `clone()` +
`execve()` into one and has nice properties since it avoids becoming a CoW
- trap by using `CLONE_VORK` and `CLONE_VM` together.
+ trap by using `CLONE_VFORK` and `CLONE_VM` together.
- While we avoid forking off threads on our own, writing thread-safe code is a
good idea where it might end up running inside of libsystemd.so or