FIXES 22317
it seems like this might be a bug in solaris10 when handling contracts
of exiting chilren who have created kernel threads. the rxlistener is
a kernel thread on solaris and the child that starts the kernel_thread
returns and exits.
#include <errno.h>
#include <sys/time.h>
#include <dirent.h>
+#include <sys/wait.h>
#ifdef HAVE_SYS_PARAM_H
enable_process_stats);
exit(1);
}
+#ifdef AFS_SUN510_ENV
+ waitpid((pid_t) -1, NULL, 0);
+#endif
#endif
if (afsd_verbose)
printf("%s: Forking rx callback listener.\n", rn);