summaryrefslogtreecommitdiff
path: root/usr.bin/ssh
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2004-03-03 06:47:53 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2004-03-03 06:47:53 +0000
commit132653d44fecac625c0104cb526eb97046eb5777 (patch)
tree6f3ede20f9147fda2d3b5f0d01fc63ba936d03f7 /usr.bin/ssh
parent4a9605b692ae0b76ce3b932f4ad35ed2d9787f8a (diff)
change proctiltle after accept(2); ok henning, deraadt, djm
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r--usr.bin/ssh/sshd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c
index 438bdbb966d..eda7bb3afa6 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.287 2004/02/25 00:22:45 djm Exp $");
+RCSID("$OpenBSD: sshd.c,v 1.288 2004/03/03 06:47:52 markus Exp $");
#include <openssl/dh.h>
#include <openssl/bn.h>
@@ -1324,6 +1324,7 @@ main(int ac, char **av)
}
/* This is the child processing a new connection. */
+ setproctitle("%s", "[accepted]");
/*
* Create a new session and process group since the 4.4BSD