From cc120685563bab12868fa36abb2dd143b0feb895 Mon Sep 17 00:00:00 2001 From: djm Date: Mon, 8 Mar 2004 12:11:25 +0000 Subject: [PATCH] - (djm) OpenBSD CVS Sync - markus@cvs.openbsd.org 2004/03/03 06:47:52 [sshd.c] change proctiltle after accept(2); ok henning, deraadt, djm --- ChangeLog | 10 +++++++--- sshd.c | 3 ++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7936103d..2563e9c1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,9 +6,13 @@ inherited by the child. ok djm@ - (dtucker) [auth-pam.c auth-pam.h auth1.c auth2.c monitor.c monitor_wrap.c monitor_wrap.h] Bug #808: Ensure force_pwchange is correctly initialized - even if keyboard-interactive is not used by the client. Prevents segfaults - in some cases where the user's password is expired (note this is not - considered a security exposure). ok djm@ + even if keyboard-interactive is not used by the client. Prevents + segfaults in some cases where the user's password is expired (note this + is not considered a security exposure). ok djm@ + - (djm) OpenBSD CVS Sync + - markus@cvs.openbsd.org 2004/03/03 06:47:52 + [sshd.c] + change proctiltle after accept(2); ok henning, deraadt, djm 20040307 - (tim) [regress/login-timeout.sh] fix building outside of source tree. diff --git a/sshd.c b/sshd.c index 3247091a..9462bf0a 100644 --- a/sshd.c +++ b/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 #include @@ -1390,6 +1390,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 -- 2.45.2