summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-03-26 01:53:03 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-03-26 01:53:03 +0000
commitf90f58d8466de33761e7aec3fca845e83c1d1b43 (patch)
tree2015cf55ff692b09817c0f721e46bdd77e817705 /sshd.c
parent6205a18f5565845f5b612d1b7bf06e807c900f3c (diff)
- stevesk@cvs.openbsd.org 2002/03/23 20:57:26
[sshd.c] setproctitle() after preauth child; ok markus@
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sshd.c b/sshd.c
index c80dfc146..541e9932e 100644
--- a/sshd.c
+++ b/sshd.c
@@ -42,7 +42,7 @@
42 */ 42 */
43 43
44#include "includes.h" 44#include "includes.h"
45RCSID("$OpenBSD: sshd.c,v 1.237 2002/03/21 21:23:34 markus Exp $"); 45RCSID("$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}