From f90f58d8466de33761e7aec3fca845e83c1d1b43 Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Tue, 26 Mar 2002 01:53:03 +0000 Subject: - stevesk@cvs.openbsd.org 2002/03/23 20:57:26 [sshd.c] setproctitle() after preauth child; ok markus@ --- sshd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sshd.c') diff --git a/sshd.c b/sshd.c index c80dfc146..541e9932e 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 #include @@ -588,6 +588,7 @@ privsep_preauth(void) /* Demote the child */ if (getuid() == 0 || geteuid() == 0) privsep_preauth_child(); + setproctitle("%s", "[net]"); } return (NULL); } -- cgit v1.2.3