summaryrefslogtreecommitdiff
path: root/usr.sbin/mrinfo
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2017-08-22 15:47:14 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2017-08-22 15:47:14 +0000
commit6ac6d381146147a186c6015a4141f92963db30e6 (patch)
tree125755f01b9186c3ea782bde4915acf851a3f900 /usr.sbin/mrinfo
parent325ad0a702ccdec35dc8c419b15fe95572421158 (diff)
Use waitpid()/EINTR idiom for the specific pid, rather than generic wait(),
in case the parent process was started with a dangling child. This style ensures any potential parent:child interlock isn't disrupted due to the "wrong" child being waited on first. Then the other other childs can safely zombie. ok millert jca brynet
Diffstat (limited to 'usr.sbin/mrinfo')
0 files changed, 0 insertions, 0 deletions