NetBSD/libexec
martin 6d72761350 Pull up following revision(s) (requested by chs in ticket #907):
libexec/ld.elf_so/rtld.c: revision 1.205
	libexec/ld.elf_so/rtld.h: revision 1.140
	libexec/ld.elf_so/symbols.map: revision 1.3
	libexec/ld.elf_so/symbols.map: revision 1.4
	lib/libc/gen/pthread_atfork.c: revision 1.13
	lib/libc/gen/pthread_atfork.c: revision 1.14
	libexec/ld.elf_so/rtld.h: revision 1.139
	libexec/ld.elf_so/rtld.c: revision 1.204

Introduce intermediate locking for fork, so that the dynamic linker is
in a consistent state. This most importantly avoids races between dlopen
and friends and fork, potentially resulting in dead locks in the child
when it itself tries to acquire locks.

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.
2020-05-13 18:08:38 +00:00
..
atrun
comsat
fingerd
ftpd clarify the fd used for blacklisting. 2019-01-29 23:19:30 +00:00
getNAME
getty Tweak markup some more. 2019-07-15 01:26:15 +00:00
httpd Account for cgihandler being set when counting the number of CGI environment 2019-03-29 14:46:44 +00:00
identd Pull up following revision(s) (requested by rmind in ticket #140): 2019-09-01 13:18:39 +00:00
ld.aout_so
ld.elf_so Pull up following revision(s) (requested by chs in ticket #907): 2020-05-13 18:08:38 +00:00
lfs_cleanerd Pull up following revision(s) (requested by brad in ticket #110): 2019-09-02 16:16:56 +00:00
mail.local
makekey
makewhatis
rexecd
rlogind
rpc.rquotad
rpc.rstatd sysctl(KERN_BOOTTIME) is a struct timespec, not struct timeval 2018-10-30 21:18:39 +00:00
rpc.rusersd delete now-irrelevant comment 2018-03-01 06:24:12 +00:00
rpc.rwalld
rpc.sprayd
rshd fix to compile without USE_PAM. (unused variables) 2017-10-07 19:23:02 +00:00
talkd
telnetd Pull up following revision(s) (requested by kamil in ticket #61): 2019-08-16 19:12:46 +00:00
tftpd Spell "occurrence" correctly. 2019-01-09 17:19:08 +00:00
utmp_update
Makefile
Makefile.inc