- (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
This commit is contained in:
Damien Miller 2004-03-08 23:11:25 +11:00
parent dbf7a74ee5
commit 57aae982be
2 changed files with 10 additions and 5 deletions

View File

@ -6,9 +6,13 @@
inherited by the child. ok djm@ inherited by the child. ok djm@
- (dtucker) [auth-pam.c auth-pam.h auth1.c auth2.c monitor.c monitor_wrap.c - (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 monitor_wrap.h] Bug #808: Ensure force_pwchange is correctly initialized
even if keyboard-interactive is not used by the client. Prevents segfaults even if keyboard-interactive is not used by the client. Prevents
in some cases where the user's password is expired (note this is not segfaults in some cases where the user's password is expired (note this
considered a security exposure). ok djm@ 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 20040307
- (tim) [regress/login-timeout.sh] fix building outside of source tree. - (tim) [regress/login-timeout.sh] fix building outside of source tree.
@ -869,4 +873,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu - (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 $

3
sshd.c
View File

@ -42,7 +42,7 @@
*/ */
#include "includes.h" #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/dh.h>
#include <openssl/bn.h> #include <openssl/bn.h>
@ -1390,6 +1390,7 @@ main(int ac, char **av)
} }
/* This is the child processing a new connection. */ /* This is the child processing a new connection. */
setproctitle("%s", "[accepted]");
/* /*
* Create a new session and process group since the 4.4BSD * Create a new session and process group since the 4.4BSD