SCCS-vsn: libexec/telnetd/telnetd.c 4.18
SCCS-vsn: libexec/rlogind/rlogind.c 4.11
SCCS-vsn: libexec/rshd/rshd.c 4.13
SCCS-vsn: libexec/rexecd/rexecd.c 4.8
-static char sccsid[] = "@(#)rexecd.c 4.7 83/01/22";
+static char sccsid[] = "@(#)rexecd.c 4.8 83/02/21";
#endif
#include <sys/ioctl.h>
#endif
#include <sys/ioctl.h>
+ if (fork() == 0) {
+ signal(SIGCHLD, SIG_IGN);
-static char sccsid[] = "@(#)rlogind.c 4.10 83/01/22";
+static char sccsid[] = "@(#)rlogind.c 4.11 83/02/21";
#endif
#include <stdio.h>
#endif
#include <stdio.h>
perror("rlogind: accept");
continue;
}
perror("rlogind: accept");
continue;
}
+ if (fork() == 0) {
+ signal(SIGCHLD, SIG_IGN);
-static char sccsid[] = "@(#)rshd.c 4.12 83/02/10";
+static char sccsid[] = "@(#)rshd.c 4.13 83/02/21";
#endif
#include <sys/ioctl.h>
#endif
#include <sys/ioctl.h>
}
if (fork() == 0) {
close(f);
}
if (fork() == 0) {
close(f);
+ signal(SIGCHLD, SIG_IGN);
doit(g, &from);
}
close(g);
doit(g, &from);
}
close(g);
-static char sccsid[] = "@(#)telnetd.c 4.17 83/01/22";
+static char sccsid[] = "@(#)telnetd.c 4.18 83/02/21";
}
if ((pid = fork()) < 0)
printf("Out of processes\n");
}
if ((pid = fork()) < 0)
printf("Out of processes\n");
+ else if (pid == 0) {
+ signal(SIGCHLD, SIG_IGN);
close(s2);
}
/*NOTREACHED*/
close(s2);
}
/*NOTREACHED*/