- stevesk@cvs.openbsd.org 2002/03/23 20:57:26
[sshd.c]
setproctitle() after preauth child; ok markus@
diff --git a/sshd.c b/sshd.c
index c80dfc1..541e993 100644
--- a/sshd.c
+++ b/sshd.c
@@ -42,7 +42,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: sshd.c,v 1.237 2002/03/21 21:23:34 markus Exp $");
+RCSID("$OpenBSD: sshd.c,v 1.238 2002/03/23 20:57:26 stevesk Exp $");
#include <openssl/dh.h>
#include <openssl/bn.h>
@@ -588,6 +588,7 @@
/* Demote the child */
if (getuid() == 0 || geteuid() == 0)
privsep_preauth_child();
+ setproctitle("%s", "[net]");
}
return (NULL);
}