Now
MAIN commitmail json YAML
src/lib/libc/gen/pthread_atfork.c@1.14
/
diff
/
nxr@1.14
src/libexec/ld.elf_so/rtld.c@1.205 / diff / nxr@1.205
src/libexec/ld.elf_so/rtld.h@1.140 / diff / nxr@1.140
src/libexec/ld.elf_so/symbols.map@1.4 / diff / nxr@1.4
src/libexec/ld.elf_so/rtld.c@1.205 / diff / nxr@1.205
src/libexec/ld.elf_so/rtld.h@1.140 / diff / nxr@1.140
src/libexec/ld.elf_so/symbols.map@1.4 / diff / nxr@1.4
Rename __atomic_fork to __locked_fork and give it &errno as argument.
rtld and libc use different storage, so the initial version would
incorrectly report the failure reason for fork().
There is still a small race condition inside ld.elf_so as it doesn't use
thread-safe errno internally, but that's a more contained internal
issue.
rtld and libc use different storage, so the initial version would
incorrectly report the failure reason for fork().
There is still a small race condition inside ld.elf_so as it doesn't use
thread-safe errno internally, but that's a more contained internal
issue.