diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | sshd.c | 3 |
2 files changed, 8 insertions, 2 deletions
@@ -1,5 +1,10 @@ | |||
1 | 20020325 | 1 | 20020325 |
2 | - (stevesk) import OpenBSD <sys/tree.h> as "openbsd-compat/tree.h" | 2 | - (stevesk) import OpenBSD <sys/tree.h> as "openbsd-compat/tree.h" |
3 | - (bal) OpenBSD CVS Sync | ||
4 | - stevesk@cvs.openbsd.org 2002/03/23 20:57:26 | ||
5 | [sshd.c] | ||
6 | setproctitle() after preauth child; ok markus@ | ||
7 | |||
3 | 8 | ||
4 | 20020324 | 9 | 20020324 |
5 | - (stevesk) [session.c] disable LOGIN_NEEDS_TERM until we are sure | 10 | - (stevesk) [session.c] disable LOGIN_NEEDS_TERM until we are sure |
@@ -8014,4 +8019,4 @@ | |||
8014 | - Wrote replacements for strlcpy and mkdtemp | 8019 | - Wrote replacements for strlcpy and mkdtemp |
8015 | - Released 1.0pre1 | 8020 | - Released 1.0pre1 |
8016 | 8021 | ||
8017 | $Id: ChangeLog,v 1.1977 2002/03/26 00:12:49 stevesk Exp $ | 8022 | $Id: ChangeLog,v 1.1978 2002/03/26 01:53:03 mouring Exp $ |
@@ -42,7 +42,7 @@ | |||
42 | */ | 42 | */ |
43 | 43 | ||
44 | #include "includes.h" | 44 | #include "includes.h" |
45 | RCSID("$OpenBSD: sshd.c,v 1.237 2002/03/21 21:23:34 markus Exp $"); | 45 | RCSID("$OpenBSD: sshd.c,v 1.238 2002/03/23 20:57:26 stevesk Exp $"); |
46 | 46 | ||
47 | #include <openssl/dh.h> | 47 | #include <openssl/dh.h> |
48 | #include <openssl/bn.h> | 48 | #include <openssl/bn.h> |
@@ -588,6 +588,7 @@ privsep_preauth(void) | |||
588 | /* Demote the child */ | 588 | /* Demote the child */ |
589 | if (getuid() == 0 || geteuid() == 0) | 589 | if (getuid() == 0 || geteuid() == 0) |
590 | privsep_preauth_child(); | 590 | privsep_preauth_child(); |
591 | setproctitle("%s", "[net]"); | ||
591 | } | 592 | } |
592 | return (NULL); | 593 | return (NULL); |
593 | } | 594 | } |