From: Raphael Finkel (raphael@ms.uky.edu)
Date: 03/25/93


From: raphael@ms.uky.edu (Raphael Finkel)
Subject: portmap / zombies / fix
Date: Thu, 25 Mar 1993 14:55:55 GMT

In the SLS version of /etc/inet/portmap, as of 2/23/93, there is a
bug. Forked copies of portmap are not being reaped and are staying
around as zombies when they finish.

I got a copy of NFS/BETA/rpc-0.9, which includes portmap, and added
after line 454 a call to reap(). This fixes the problem.

Actually, reap() is already setup (via signal()) to be called every
time SIGCHLD is signaled. For some reason, this method was not
working. Possible reasons:

1. SLS is not using this particular version of portmap.

2. SIGCHLD is not working.