diff options
author | Kevin Steves <stevesk@cvs.openbsd.org> | 2002-03-23 20:57:27 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@cvs.openbsd.org> | 2002-03-23 20:57:27 +0000 |
commit | ffee67676321d3ec3aa0244450c65612b6ff4db1 (patch) | |
tree | da166c0399a27a3037e7d478c95633091ddd1036 /usr.bin/ssh/sshd.c | |
parent | 3da20b9c77f492d866f278ead6ad3906c7b0a5d4 (diff) |
setproctitle() after preauth child; ok markus@
Diffstat (limited to 'usr.bin/ssh/sshd.c')
-rw-r--r-- | usr.bin/ssh/sshd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c index 0ef16630674..88dd5b65b3c 100644 --- a/usr.bin/ssh/sshd.c +++ b/usr.bin/ssh/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> @@ -579,6 +579,7 @@ privsep_preauth(void) /* Demote the child */ if (getuid() == 0 || geteuid() == 0) privsep_preauth_child(); + setproctitle("%s", "[net]"); } return (NULL); } |