be more social about killing attached processes (vhangup takes care of it)
authorJim Bloom <bloom@ucbvax.Berkeley.EDU>
Wed, 23 Oct 1985 10:43:11 +0000 (02:43 -0800)
committerJim Bloom <bloom@ucbvax.Berkeley.EDU>
Wed, 23 Oct 1985 10:43:11 +0000 (02:43 -0800)
(from sun!guy)

SCCS-vsn: libexec/rlogind/rlogind.c 5.8
SCCS-vsn: libexec/telnetd/telnetd.c 5.4

usr/src/libexec/rlogind/rlogind.c
usr/src/libexec/telnetd/telnetd.c

index d62889b..5c56e6a 100644 (file)
@@ -11,7 +11,7 @@ char copyright[] =
 #endif not lint
 
 #ifndef lint
 #endif not lint
 
 #ifndef lint
-static char sccsid[] = "@(#)rlogind.c  5.7 (Berkeley) %G%";
+static char sccsid[] = "@(#)rlogind.c  5.8 (Berkeley) %G%";
 #endif not lint
 
 /*
 #endif not lint
 
 /*
@@ -318,7 +318,6 @@ cleanup()
        rmut();
        vhangup();              /* XXX */
        shutdown(netf, 2);
        rmut();
        vhangup();              /* XXX */
        shutdown(netf, 2);
-       kill(0, SIGKILL);
        exit(1);
 }
 
        exit(1);
 }
 
index 35836d6..a2d93ce 100644 (file)
@@ -11,7 +11,7 @@ char copyright[] =
 #endif not lint
 
 #ifndef lint
 #endif not lint
 
 #ifndef lint
-static char sccsid[] = "@(#)telnetd.c  5.3 (Berkeley) %G%";
+static char sccsid[] = "@(#)telnetd.c  5.4 (Berkeley) %G%";
 #endif not lint
 
 /*
 #endif not lint
 
 /*
@@ -577,7 +577,6 @@ cleanup()
        rmut();
        vhangup();      /* XXX */
        shutdown(net, 2);
        rmut();
        vhangup();      /* XXX */
        shutdown(net, 2);
-       kill(0, SIGKILL);
        exit(1);
 }
 
        exit(1);
 }