From 57aae982bec2e5e8e9db487626c24f7c35aedfb2 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Mon, 8 Mar 2004 23:11:25 +1100 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 | 12 ++++++++---- sshd.c | 3 ++- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index cfedf899f..56fb2fd44 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. @@ -869,4 +873,4 @@ - (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu -$Id: ChangeLog,v 1.3279 2004/03/08 12:04:06 dtucker Exp $ +$Id: ChangeLog,v 1.3280 2004/03/08 12:11:25 djm Exp $ diff --git a/sshd.c b/sshd.c index 3247091a4..9462bf0af 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