aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2026-04-12 09:16:13 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2026-04-12 20:29:42 +0000
commit660498986a8e56025d9d2f9c6a0813c09a27ba8e (patch)
tree33c55bcdfca6546feb75980495e8519bf859a53e /lib
parentf286933c950f6308117c8400f36f3160f6227491 (diff)
Diffstat (limited to 'lib')
-rw-r--r--lib/libsys/fork.22
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libsys/fork.2 b/lib/libsys/fork.2
index e59b208a9ff5..89a5631d7daa 100644
--- a/lib/libsys/fork.2
+++ b/lib/libsys/fork.2
@@ -138,6 +138,7 @@ services (
or
.Xr rtld 1 )
are available in the child if forked from multi-threaded parent.
+.Pp
In particular, if using dynamic linking, all dynamic symbols used by the
child after
.Fn _Fork
@@ -151,6 +152,7 @@ option to the static linker
or by using each symbol before the
.Fn _Fork
call to force the binding.
+Either of the methods subtly changes the ABI of the resulting binary.
.Sh RETURN VALUES
Upon successful completion,
.Fn fork