diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2017-08-22 15:47:14 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2017-08-22 15:47:14 +0000 |
commit | 6ac6d381146147a186c6015a4141f92963db30e6 (patch) | |
tree | 125755f01b9186c3ea782bde4915acf851a3f900 /usr.sbin/mrinfo | |
parent | 325ad0a702ccdec35dc8c419b15fe95572421158 (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