fork.2: note that all methods to pre-resolve symbols have consequences
Reviewed by: imp Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D56362
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user